Skip to content

Commit

Permalink
Updates regression file
Browse files Browse the repository at this point in the history
  • Loading branch information
domna committed Jul 3, 2024
1 parent 825e996 commit 0c42058
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions tests/data/Ref_nexus_mpes.log
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,14 @@ DEBUG -

*It is advised* to use :ref:`NXsubentry`, instead, as the overlay position.

DEBUG - ===== ATTRS (//entry/definition@url)
DEBUG - value: https://github.com/FAIRmat-NFDI/nexus_definitions/blob/0682943ba
DEBUG - classpath: ['NXentry', 'NX_CHAR']
DEBUG - classes:
NXmpes.nxdl.xml:/ENTRY/definition
NXentry.nxdl.xml:/definition
DEBUG - @url - IS NOT IN SCHEMA
DEBUG -
DEBUG - ===== ATTRS (//entry/definition@version)
DEBUG - value: None
DEBUG - classpath: ['NXentry', 'NX_CHAR']
Expand Down
4 changes: 2 additions & 2 deletions tests/test_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from pynxtools.dataconverter.template import Template
from pynxtools.dataconverter.validation import validate_dict_against
from pynxtools.definitions.dev_tools.utils.nxdl_utils import get_nexus_definitions_path
from pynxtools.nexus import nexus # noqa: E402 # noqa: E402
from pynxtools.nexus.nexus import HandleNexus

from pynxtools_mpes.reader import MPESReader

Expand Down Expand Up @@ -73,7 +73,7 @@ def test_mpes_writing(tmp_path):
handler.setLevel(logging.DEBUG)
handler.setFormatter(formatter)
logger.addHandler(handler)
nexus_helper = nexus.HandleNexus(logger, test_data, None, None)
nexus_helper = HandleNexus(logger, test_data, None, None)
nexus_helper.process_nexus_master_file(None)
with open(
os.path.join(tmp_path, "mpes_test.log"), "r", encoding="utf-8"
Expand Down

0 comments on commit 0c42058

Please sign in to comment.