Changeset 6d8bad4 in sasview
- Timestamp:
- Apr 13, 2012 7:30:17 AM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- dc0cfa4
- Parents:
- 61184df
- Location:
- fittingview/src/sans/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/fitpanel.py
r916f5c0 r6d8bad4 179 179 return selected_page.get_data() 180 180 181 def set_model_state(s tate):181 def set_model_state(self, state): 182 182 """ 183 183 receive a state to reset the model in the current page -
fittingview/src/sans/perspectives/fitting/fitting.py
r8b1d759 r6d8bad4 1 1 """ 2 Fitting perspective 3 """ 2 4 3 5 ################################################################################ … … 18 20 import logging 19 21 import numpy 20 import string21 22 import time 22 23 from copy import deepcopy 23 24 import models 24 import fitpage25 25 26 26 from sans.dataloader.loader import Loader … … 617 617 if self.state_index==0 and len(self.mypanels) <= 0 \ 618 618 and self.sfile_ext =='.svs': 619 self.fit_panel.add_default_pages() 619 #TODO: Why was the following line left in the code 620 # if add_default_pages doesn't exist? 621 try: 622 self.fit_panel.add_default_pages() 623 except: 624 print sys.exc_value 620 625 self.temp_state = [] 621 626 self.state_index = 0 … … 762 767 763 768 """ 764 if string.find(item, ".") != -1:769 if item.find(".") >= 0: 765 770 param_names = re.split("\.", item) 766 771 model_name = param_names[0] … … 1113 1118 plot_id = None 1114 1119 if model is not None: 1115 plot_id = data.id + name1120 plot_id = data.id + model.name 1116 1121 if theory: 1117 1122 plot_id = data.id
Note: See TracChangeset
for help on using the changeset viewer.