Changeset 4597637 in sasview for src/sas/sascalc


Ignore:
Timestamp:
Apr 10, 2017 10:27:26 AM (8 years ago)
Author:
Tim Snow <tim.snow@…>
Children:
0b44113
Parents:
cbb9551
Message:

Merge aftermath

Added y-acceptance term back into the file reader after the merge
overwrote it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/dataloader/readers/cansas_reader.py

    rcbb9551 r4597637  
    269269                        self.current_datainfo.isSesans = bool(setupNode.text) 
    270270 
     271                    elif setupTagName == "yacceptance": 
     272                        self.current_datainfo.sample.yacceptance = (setupNode.text, units) 
    271273                    elif setupTagName == "zacceptance": 
    272274                        self.current_datainfo.sample.zacceptance = (setupNode.text, units) 
     
    422424                                    beamData = beamNode.text 
    423425 
    424                                     if beamTagName == "x" and self.parent_class == "beam_size": 
     426                                    if beamTagName == "x": 
    425427                                       self.current_datainfo.source.beam_size.x = beamData 
    426428                                       self.current_datainfo.source.beam_size_unit = beamUnits 
    427                                     elif beamTagName == "y" and self.parent_class == "beam_size": 
     429                                    elif beamTagName == "y": 
    428430                                        self.current_datainfo.source.beam_size.y = beamData 
    429431                                        self.current_datainfo.source.beam_size_unit = beamUnits 
Note: See TracChangeset for help on using the changeset viewer.