Changeset 5e48acb in sasview for fittingview/src/sans/perspectives/fitting/fitproblem.py
- Timestamp:
- Sep 23, 2011 11:44:39 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:
- d03a356
- Parents:
- 22ce7e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/fitproblem.py
r1b14795 r5e48acb 117 117 Return the caption of the page associated with object 118 118 """ 119 119 def set_graph_id(self, id): 120 """ 121 Set graph id (from data_group_id at the time the graph produced) 122 """ 123 def get_graph_id(self): 124 """ 125 Get graph_id 126 """ 120 127 121 128 class FitProblemDictionary(FitProblemComponent, dict): … … 136 143 self.qmin = None 137 144 self.qmax = None 145 self.graph_id = None 138 146 self._smear_on = False 139 147 self.scheduled = 0 … … 399 407 return self.result 400 408 401 409 def set_graph_id(self, id): 410 """ 411 Set graph id (from data_group_id at the time the graph produced) 412 """ 413 self.graph_id = id 414 415 def get_graph_id(self): 416 """ 417 Get graph_id 418 """ 419 return self.graph_id 420 421 402 422 class FitProblem(FitProblemComponent): 403 423 """ … … 617 637 return self.fit_tab_caption 618 638 619 639 def set_graph_id(self, id): 640 """ 641 Set graph id (from data_group_id at the time the graph produced) 642 """ 643 self.graph_id = id 644 645 def get_graph_id(self): 646 """ 647 Get graph_id 648 """ 649 return self.graph_id 620 650
Note: See TracChangeset
for help on using the changeset viewer.