Changeset feec1cb in sasview for src/sas/sascalc
- Timestamp:
- Sep 13, 2018 1:54:54 PM (6 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
- Children:
- 9a0fc50
- Parents:
- 2ca5d57b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/readers/cansas_reader_HDF5.py
r2ca5d57b rfeec1cb 633 633 elif q_vals.attrs.get("uncertainty") is not None: 634 634 self.q_uncertainties = q_vals.attrs.get("uncertainty") 635 if isinstance(self.q_uncertainties, str) is not None:636 self.q_uncertainties = [self.q_uncertainties]635 if isinstance(self.q_uncertainties, str): 636 self.q_uncertainties = self.q_uncertainties.split(",") 637 637 if q_vals.attrs.get("resolutions") is not None: 638 638 self.q_resolutions = q_vals.attrs.get("resolutions") 639 if isinstance(self.q_resolutions, str):639 if isinstance(self.q_resolutions, (str, unicode)): 640 640 self.q_resolutions = self.q_resolutions.split(",") 641 641 if self.i_name in keys:
Note: See TracChangeset
for help on using the changeset viewer.