From 22fd0ac6e8e988009487cf85ccd231f6c18de838 Mon Sep 17 00:00:00 2001 From: domna Date: Fri, 23 Feb 2024 16:55:30 +0100 Subject: [PATCH] Import from multiformat reader --- pynxtools_mpes/reader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pynxtools_mpes/reader.py b/pynxtools_mpes/reader.py index 9877a4e..38ced91 100644 --- a/pynxtools_mpes/reader.py +++ b/pynxtools_mpes/reader.py @@ -25,7 +25,7 @@ import numpy as np import xarray as xr import yaml -from pynxtools.dataconverter.readers.base.reader import BaseReader +from pynxtools.dataconverter.readers.multi.reader import MultiFormatReader from pynxtools.dataconverter.readers.utils import ( FlattenSettings, flatten_and_replace, @@ -241,7 +241,7 @@ def fill_data_indices_in_config(config_file_dict, x_array_loaded): config_file_dict.pop(key) -class MPESReader(BaseReader): +class MPESReader(MultiFormatReader): """MPES-specific reader class""" # pylint: disable=too-few-public-methods