Changeset 0d8642c9 in sasview for DataLoader/readers
- Timestamp:
- Jan 17, 2011 12:27:55 PM (14 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, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 16d7079
- Parents:
- 3eac6d06
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DataLoader/readers/cansas_reader.py
ra01c743 r0d8642c9 622 622 write_node(doc, pt, "I", datainfo.y[i], 623 623 {'unit':datainfo.y_unit}) 624 if datainfo.dx != None and len(datainfo.dx)>=i:624 if datainfo.dx != None and len(datainfo.dx) >= i: 625 625 write_node(doc, pt, "Qdev", datainfo.dx[i], 626 626 {'unit':datainfo.x_unit}) 627 if datainfo.dy !=None and len(datainfo.dy)>=i: 627 if datainfo.dxl != None and len(datainfo.dxl) >= i: 628 write_node(doc, pt, "dQl", datainfo.dxl[i], 629 {'unit':datainfo.x_unit}) 630 if datainfo.dxw != None and len(datainfo.dxw) >= i: 631 write_node(doc, pt, "dQw", datainfo.dxw[i], 632 {'unit':datainfo.x_unit}) 633 if datainfo.dy != None and len(datainfo.dy) >= i: 628 634 write_node(doc, pt, "Idev", datainfo.dy[i], 629 635 {'unit':datainfo.y_unit})
Note: See TracChangeset
for help on using the changeset viewer.