Changeset 4597637 in sasview for src/sas/sascalc
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/readers/cansas_reader.py
rcbb9551 r4597637 269 269 self.current_datainfo.isSesans = bool(setupNode.text) 270 270 271 elif setupTagName == "yacceptance": 272 self.current_datainfo.sample.yacceptance = (setupNode.text, units) 271 273 elif setupTagName == "zacceptance": 272 274 self.current_datainfo.sample.zacceptance = (setupNode.text, units) … … 422 424 beamData = beamNode.text 423 425 424 if beamTagName == "x" and self.parent_class == "beam_size":426 if beamTagName == "x": 425 427 self.current_datainfo.source.beam_size.x = beamData 426 428 self.current_datainfo.source.beam_size_unit = beamUnits 427 elif beamTagName == "y" and self.parent_class == "beam_size":429 elif beamTagName == "y": 428 430 self.current_datainfo.source.beam_size.y = beamData 429 431 self.current_datainfo.source.beam_size_unit = beamUnits
Note: See TracChangeset
for help on using the changeset viewer.