Need to Refactor SimultaneousFitPage Class (Trac #942) #1021
Labels
Defect
Bug or undesirable behaviour
Enhancement
Feature requests and/or general improvements
Minor
Small job
Milestone
It turns out that the !SimultaneousFitPage class in simfitpage.py is used both for constrained/simultaneous fitting and for combined batch fitting. Most of th page is the same but there are a dozen instances requiring one or two lined of code change that are all done using "if batch_on...."
This is bad form. Ideally the class should be rewritten to be generic and then two subclasses written which inherit from that class. All could reside in the one file.
However, since this is in sasgui which goes away soon and does not affect the user experience it has a trivial priority and will presumably be closed as obsolete after 5.0 if not fixed first.
Migrated from http://trac.sasview.org/ticket/942
The text was updated successfully, but these errors were encountered: