diff --git a/dev_tools/nyaml2nxdl/nyaml2nxdl_backward_tools.py b/dev_tools/nyaml2nxdl/nyaml2nxdl_backward_tools.py index c0f672305..dcf56b998 100755 --- a/dev_tools/nyaml2nxdl/nyaml2nxdl_backward_tools.py +++ b/dev_tools/nyaml2nxdl/nyaml2nxdl_backward_tools.py @@ -27,10 +27,10 @@ from typing import Dict from typing import List -from .nyaml2nxdl_helper import remove_namespace_from_tag from .nyaml2nxdl_helper import cleaning_empty_lines from .nyaml2nxdl_helper import get_node_parent_info from .nyaml2nxdl_helper import get_yaml_escape_char_dict +from .nyaml2nxdl_helper import remove_namespace_from_tag DEPTH_SIZE = " " CMNT_TAG = "!--" diff --git a/dev_tools/nyaml2nxdl/nyaml2nxdl_forward_tools.py b/dev_tools/nyaml2nxdl/nyaml2nxdl_forward_tools.py index 85b3ece55..d54aa9f93 100644 --- a/dev_tools/nyaml2nxdl/nyaml2nxdl_forward_tools.py +++ b/dev_tools/nyaml2nxdl/nyaml2nxdl_forward_tools.py @@ -28,13 +28,14 @@ from xml.dom import minidom import yaml -from .nyaml2nxdl_helper import remove_namespace_from_tag + from ..utils import nexus as pynxtools_nxlib from .nyaml2nxdl.comment_collector import CommentCollector from .nyaml2nxdl_helper import LineLoader from .nyaml2nxdl_helper import cleaning_empty_lines from .nyaml2nxdl_helper import get_yaml_escape_char_reverter_dict from .nyaml2nxdl_helper import nx_name_type_resolving +from .nyaml2nxdl_helper import remove_namespace_from_tag # pylint: disable=too-many-lines, global-statement, invalid-name DOM_COMMENT = (