File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727from sasdata .temp_hdf5_reader import load_data as hdf_load_data
2828from sasdata .temp_xml_reader import load_data as xml_load_data
2929
30- test_xml_file_names = [
31- "ISIS_1_0" ,
32- "ISIS_1_1" ,
33- "ISIS_1_1_doubletrans" ,
34- "ISIS_1_1_notrans" ,
35- "TestExtensions" ,
36- "cansas1d" ,
37- "cansas1d_badunits" ,
38- "cansas1d_notitle" ,
39- "cansas1d_slit" ,
40- "cansas1d_units" ,
41- "cansas_test" ,
42- "cansas_test_modified" ,
43- # "cansas_xml_multisasentry_multisasdata",
44- "valid_cansas_xml" ,
45- ]
46-
4730
4831def local_load (path : str ):
4932 """Get local file path"""
@@ -67,11 +50,6 @@ def local_json_load(path: str):
6750 return local_load (f"{ os .path .join ('json' , path )} " )
6851
6952
70- def example_data_load (path : str ):
71- try :
72- return xml_load_data (local_load (f"data/{ path } .xml" ))
73- except OSError :
74- return hdf_load_data (local_load (f"data/{ path } .h5" ))
7553
7654
7755@pytest .mark .sasdata
You can’t perform that action at this time.
0 commit comments