From 2fdfe8220dade34a4d3d877e1396f89a80bdd221 Mon Sep 17 00:00:00 2001 From: Rubel Date: Wed, 29 Nov 2023 18:36:51 +0100 Subject: [PATCH] update. --- pynxtools/dataconverter/convert.py | 1 - pynxtools/dataconverter/readers/xrd/xrd_parser.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pynxtools/dataconverter/convert.py b/pynxtools/dataconverter/convert.py index 948fe6c50..78dc7c77b 100644 --- a/pynxtools/dataconverter/convert.py +++ b/pynxtools/dataconverter/convert.py @@ -151,7 +151,6 @@ def transfer_data_into_template(input_file, data = data_reader().read( # type: ignore[operator] template=Template(template), file_paths=input_file, - **kwargs, ) helpers.validate_data_dict(template, data, nxdl_root) return data diff --git a/pynxtools/dataconverter/readers/xrd/xrd_parser.py b/pynxtools/dataconverter/readers/xrd/xrd_parser.py index 467d58375..76a57bc92 100644 --- a/pynxtools/dataconverter/readers/xrd/xrd_parser.py +++ b/pynxtools/dataconverter/readers/xrd/xrd_parser.py @@ -18,7 +18,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from typing import Any, Dict, Tuple, Optional, List +from typing import Dict, Tuple, Optional, List from pathlib import Path import warnings