From 0894e895e5e4e1651aa2c455faf7cab3d998857f Mon Sep 17 00:00:00 2001 From: Jochem Smit Date: Mon, 11 Apr 2022 19:12:05 +0200 Subject: [PATCH] temporary fix for #277 --- pyhdx/batch_processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyhdx/batch_processing.py b/pyhdx/batch_processing.py index 41257948..650a337f 100644 --- a/pyhdx/batch_processing.py +++ b/pyhdx/batch_processing.py @@ -52,7 +52,7 @@ def load_data(self, *filenames: os.PathLike, reader='dynamx') -> pd.DataFrame: input_files = [self.data_src / filename for filename in filenames] df = read_func(*input_files) else: - input_stringios = [self.data_src[filename] for filename in filenames] + input_stringios = [self.data_src[Path(filename).name] for filename in filenames] df = read_func(*input_stringios) for io in input_stringios: io.seek(0)