diff --git a/reduction/test/test_reduction.py b/reduction/test/test_reduction.py index 83a0e2d..84366bd 100644 --- a/reduction/test/test_reduction.py +++ b/reduction/test/test_reduction.py @@ -3,7 +3,7 @@ import mantid import mantid.simpleapi as mtd_api import numpy as np -mtd_api.config.appendDataSearchDir('tests/data/liquidsreflectometer-data/nexus/') + mtd_api.config["default.facility"] = "SNS" mtd_api.config["default.instrument"] = "REF_L" @@ -17,7 +17,8 @@ def test_full_reduction(): Test the fill reduction chain """ template_path = 'data/template.xml' - + mtd_api.config.appendDataSearchDir('tests/data/liquidsreflectometer-data/nexus') + print(os.listdir('tests/data/liquidsreflectometer-data/nexus/')) qz_all = [] refl_all = [] d_refl_all = []