Skip to content

Commit

Permalink
Use uppercase @URL, otherwise the concept is not recognized (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
domna committed Jul 4, 2024
1 parent f154704 commit 8cd8755
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/pynxtools/dataconverter/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,12 @@ def update_and_warn(key: str, value: str, overwrite=False):
get_nexus_version(),
overwrite=False,
)
update_and_warn(
f"/ENTRY[{entry_name}]/definition/@URL",
"https://github.com/FAIRmat-NFDI/nexus_definitions/"
f"blob/{get_nexus_version_hash()}",
overwrite=False,
)


def extract_atom_types(formula, mode="hill"):
Expand Down
1 change: 0 additions & 1 deletion src/pynxtools/dataconverter/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import h5py
import lxml.etree as ET
import numpy as np
from anytree import Resolver

from pynxtools.dataconverter.helpers import (
Collector,
Expand Down

0 comments on commit 8cd8755

Please sign in to comment.