Changeset 3a9801f in sasview
- Timestamp:
- Jul 19, 2016 4:48:47 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.1.1, release-4.1.2, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 4b862c4
- Parents:
- 9318c4e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/readers/cansas_reader.py
rfdbea3c r3a9801f 166 166 # ns - Namespace hierarchy for current xml_file object 167 167 ns_list = [] 168 168 169 169 # Check that the file exists 170 170 if os.path.isfile(xml_file): … … 942 942 written = written | self.write_node(pix, "z", item.pixel_size.z, 943 943 {"unit": item.pixel_size_unit}) 944 written = written | self.write_node(det, "slit_length",945 item.slit_length,946 {"unit": item.slit_length_unit})947 944 if written == True: 948 945 self.append(pix, det) 946 self.write_node(det, "slit_length", item.slit_length, 947 {"unit": item.slit_length_unit}) 948 949 949 950 950 def _write_process_notes(self, datainfo, entry_node):
Note: See TracChangeset
for help on using the changeset viewer.