diff --git a/src/ewoksid22/extract.py b/src/ewoksid22/extract.py index 330aa9e874fe0e15e62725db514371e5b89f5811..cb26ee7166c3706728456420ad6a2179d0d94bc1 100644 --- a/src/ewoksid22/extract.py +++ b/src/ewoksid22/extract.py @@ -59,7 +59,7 @@ class ID22TopasExtract( ) scannr = scans[0] - savepath_xye = os.path.join("..", "topas_extract") + savepath_xye = os.path.relpath(savepath_xye, savepath_inp) xye_files = os.path.join(savepath_xye, out_file + f"_s{scannr}_MA") inp_file = self.inputs.inp_file inp_step = self.get_input_value("inp_step", 2)