- Timestamp:
- Sep 23, 2017 10:30:40 AM (7 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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 1cdbcd8
- Parents:
- c8321cfc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/sasdataloader/test/utest_cansas.py
r7b50f14 rf00072f 17 17 18 18 import sas.sascalc.dataloader.readers.cansas_reader as cansas 19 from sas.sascalc.dataloader.file_reader_base_class import decode 19 20 from sas.sascalc.dataloader.loader import Loader 20 21 from sas.sascalc.dataloader.data_info import Data1D, Data2D … … 238 239 attr = {} 239 240 pi_name = "" 240 pi_string = etree.tostring(pi)241 pi_string = decode(etree.tostring(pi)) 241 242 if isinstance(pi_string, str): 242 243 pi_string = pi_string.replace("<?", "").replace("?>", "")
Note: See TracChangeset
for help on using the changeset viewer.