Changeset 63d773c in sasview for src/sas/sascalc/dataloader/readers/cansas_reader.py
- Timestamp:
- Apr 6, 2017 2:40:32 AM (8 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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- c44baf97
- Parents:
- 5e2f36c
- git-author:
- Adam Washington <adam.washington@…> (04/06/17 02:27:22)
- git-committer:
- Adam Washington <adam.washington@…> (04/06/17 02:40:32)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/readers/cansas_reader.py
r463e7ffc r63d773c 292 292 elif tagname == 'Sesans': 293 293 self.current_datainfo.isSesans = bool(data_point) 294 elif tagname == 'yacceptance': 295 self.current_datainfo.sample.yacceptance = (data_point, unit) 294 296 elif tagname == 'zacceptance': 295 297 self.current_datainfo.sample.zacceptance = (data_point, unit) … … 1057 1059 sesans.text = str(datainfo.isSesans) 1058 1060 node.append(sesans) 1061 self.write_node(node, "yacceptance", datainfo.sample.yacceptance[0], 1062 {'unit': datainfo.sample.yacceptance[1]}) 1059 1063 self.write_node(node, "zacceptance", datainfo.sample.zacceptance[0], 1060 1064 {'unit': datainfo.sample.zacceptance[1]})
Note: See TracChangeset
for help on using the changeset viewer.