From b83135dd5b4e625255048c012ca8f937427fba0f Mon Sep 17 00:00:00 2001 From: Lukas Pielsticker <50139597+lukaspie@users.noreply.github.com> Date: Fri, 5 Apr 2024 09:41:27 +0200 Subject: [PATCH] move specs readers into subfolder --- pynxtools_xps/file_parser.py | 7 +++---- pynxtools_xps/{ => specs}/sle/__init__.py | 0 pynxtools_xps/{ => specs}/sle/sle_specs.py | 0 pynxtools_xps/{ => specs}/slh/__init__.py | 0 pynxtools_xps/{ => specs}/xml/__init__.py | 0 pynxtools_xps/{ => specs}/xml/xml_specs.py | 0 pynxtools_xps/{ => specs}/xy/__init__.py | 0 pynxtools_xps/{ => specs}/xy/xy_specs.py | 0 8 files changed, 3 insertions(+), 4 deletions(-) rename pynxtools_xps/{ => specs}/sle/__init__.py (100%) rename pynxtools_xps/{ => specs}/sle/sle_specs.py (100%) rename pynxtools_xps/{ => specs}/slh/__init__.py (100%) rename pynxtools_xps/{ => specs}/xml/__init__.py (100%) rename pynxtools_xps/{ => specs}/xml/xml_specs.py (100%) rename pynxtools_xps/{ => specs}/xy/__init__.py (100%) rename pynxtools_xps/{ => specs}/xy/xy_specs.py (100%) diff --git a/pynxtools_xps/file_parser.py b/pynxtools_xps/file_parser.py index ec512470..8c5c42fe 100644 --- a/pynxtools_xps/file_parser.py +++ b/pynxtools_xps/file_parser.py @@ -24,13 +24,12 @@ from typing import List, Dict from pynxtools_xps.phi.spe_pro_phi import MapperPhi -from pynxtools_xps.sle.sle_specs import SleMapperSpecs +from pynxtools_xps.specs.sle.sle_specs import SleMapperSpecs +from pynxtools_xps.specs.xy.xy_specs import XyMapperSpecs +from pynxtools_xps.specs.xml.xml_specs import XmlMapperSpecs from pynxtools_xps.scienta.scienta_txt import TxtMapperScienta - from pynxtools_xps.vms.txt_vamas_export import TxtMapperVamasExport from pynxtools_xps.vms.vamas import VamasMapper -from pynxtools_xps.xy.xy_specs import XyMapperSpecs -from pynxtools_xps.xml.xml_specs import XmlMapperSpecs class XpsDataFileParser: diff --git a/pynxtools_xps/sle/__init__.py b/pynxtools_xps/specs/sle/__init__.py similarity index 100% rename from pynxtools_xps/sle/__init__.py rename to pynxtools_xps/specs/sle/__init__.py diff --git a/pynxtools_xps/sle/sle_specs.py b/pynxtools_xps/specs/sle/sle_specs.py similarity index 100% rename from pynxtools_xps/sle/sle_specs.py rename to pynxtools_xps/specs/sle/sle_specs.py diff --git a/pynxtools_xps/slh/__init__.py b/pynxtools_xps/specs/slh/__init__.py similarity index 100% rename from pynxtools_xps/slh/__init__.py rename to pynxtools_xps/specs/slh/__init__.py diff --git a/pynxtools_xps/xml/__init__.py b/pynxtools_xps/specs/xml/__init__.py similarity index 100% rename from pynxtools_xps/xml/__init__.py rename to pynxtools_xps/specs/xml/__init__.py diff --git a/pynxtools_xps/xml/xml_specs.py b/pynxtools_xps/specs/xml/xml_specs.py similarity index 100% rename from pynxtools_xps/xml/xml_specs.py rename to pynxtools_xps/specs/xml/xml_specs.py diff --git a/pynxtools_xps/xy/__init__.py b/pynxtools_xps/specs/xy/__init__.py similarity index 100% rename from pynxtools_xps/xy/__init__.py rename to pynxtools_xps/specs/xy/__init__.py diff --git a/pynxtools_xps/xy/xy_specs.py b/pynxtools_xps/specs/xy/xy_specs.py similarity index 100% rename from pynxtools_xps/xy/xy_specs.py rename to pynxtools_xps/specs/xy/xy_specs.py