Changeset 229da98 in sasview
- Timestamp:
- Feb 11, 2011 6:53:25 PM (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:
- 03314e7
- Parents:
- 90a7bbd
- Location:
- prview/perspectives/pr
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
prview/perspectives/pr/inversion_state.py
r75fbd17 r229da98 486 486 elif len(output) == 1: 487 487 # Call back to post the new state 488 #self.call_back(output[0].meta_data['prstate'], datainfo = output[0])489 self.state = output[0].meta_data['prstate']488 self.call_back(output[0].meta_data['prstate'], datainfo = output[0]) 489 #self.state = output[0].meta_data['prstate'] 490 490 return output[0] 491 491 else: -
prview/perspectives/pr/pr.py
rc03b780 r229da98 140 140 if data is None: 141 141 raise RuntimeError, "Pr.set_state: datainfo parameter cannot be None in standalone mode" 142 """142 143 143 # Ensuring that plots are coordinated correctly 144 144 t = time.localtime(data.meta_data['prstate'].timestamp) … … 150 150 max_char = len(data.meta_data['prstate'].file) 151 151 152 data .meta_data['prstate'].file = data.meta_data['prstate'].file[0:max_char] +' [' + time_str + ']'152 datainfo.meta_data['prstate'].file = data.meta_data['prstate'].file[0:max_char] +' [' + time_str + ']' 153 153 data.filename = data.meta_data['prstate'].file 154 """155 self.current_plottable = data156 #self.current_plottable.group_id = data.meta_data['prstate'].file154 155 self.current_plottable = self.parent.create_gui_data(data,None) 156 self.current_plottable.group_id = data.meta_data['prstate'].file 157 157 158 158 # Make sure the user sees the P(r) panel after loading … … 161 161 162 162 # Load the P(r) results 163 state = self.state_reader.get_state()163 #state = self.state_reader.get_state() 164 164 wx.PostEvent(self.parent, NewPlotEvent(plot=self.current_plottable, 165 165 title=self.current_plottable.title))
Note: See TracChangeset
for help on using the changeset viewer.