Changeset d80f7e1 in sasview for inversionview/src/sans
- Timestamp:
- Aug 10, 2011 3:24:55 PM (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:
- 25a40ef0
- Parents:
- 5ad0594
- Location:
- inversionview/src/sans/perspectives/pr
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inversionview/src/sans/perspectives/pr/inversion_state.py
r11f5196 rd80f7e1 18 18 from lxml import etree 19 19 from sans.guiframe.dataFitting import Data1D 20 from DataLoader.readers.cansas_reader import Reader as CansasReader21 from DataLoader.readers.cansas_reader import get_content20 from sans.dataloader.readers.cansas_reader import Reader as CansasReader 21 from sans.dataloader.readers.cansas_reader import get_content 22 22 23 23 PRNODE_NAME = 'pr_inversion' -
inversionview/src/sans/perspectives/pr/pr.py
r11f5196 rd80f7e1 970 970 # First, check that the data is of the right type 971 971 if issubclass(self.current_plottable.__class__, 972 DataLoader.data_info.Data1D):972 sans.dataloader.data_info.Data1D): 973 973 self.state_reader.write(filepath, self.current_plottable, prstate) 974 974 else: 975 975 msg = "pr.save_data: the data being saved is not a" 976 msg += " DataLoader.data_info.Data1D object"976 msg += " sans.dataloader.data_info.Data1D object" 977 977 raise RuntimeError, msg 978 978
Note: See TracChangeset
for help on using the changeset viewer.