Changeset 74755ff in sasview for theoryview/perspectives/theory/pagestate.py
- Timestamp:
- Jun 2, 2010 8:17:18 AM (14 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:
- 6c79243
- Parents:
- a45622a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
theoryview/perspectives/theory/pagestate.py
r0277d084 r74755ff 5 5 class PageState(object): 6 6 """ 7 Contains info to reconstruct a page 7 Contains info to reconstruct a page 8 8 9 """ 9 10 def __init__(self, parent,model=None, data=None): 10 11 11 12 """ 12 Initialization of the Panel 13 Initialization of the Panel 14 13 15 """ 14 16 #TODO: remove this once the inheritence is cleaned up … … 96 98 97 99 def clone(self): 100 """ 101 """ 98 102 model=None 99 103 if self.model !=None: … … 154 158 155 159 def old__repr__(self): 156 """ output string for printing""" 160 """ 161 output string for printing 162 163 """ 157 164 rep = "\n\nState name: %s\n"%self.name 158 165 rep +="data : %s\n"% str(self.data) … … 198 205 rep += "maximum value : %s \n"%str(item[6][1]) 199 206 rep += "parameter unit: %s\n\n"%str(item[7]) 200 201 207 return rep 202 203 204 205 208
Note: See TracChangeset
for help on using the changeset viewer.