Skip to content

Commit

Permalink
adjusted default location of definitions inside the module
Browse files Browse the repository at this point in the history
  • Loading branch information
sanbrock committed Jun 16, 2023
1 parent 52a21ee commit d3d101f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
PYTHON = python3
SPHINX = sphinx-build
BUILD_DIR = "build"
export NEXUS_DEF_PATH = $(shell pwd)

.PHONY: help install style autoformat test clean prepare html pdf impatient-guide all local

Expand Down
2 changes: 1 addition & 1 deletion dev_tools/utils/nexus.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def get_nexus_definitions_path():
return os.environ["NEXUS_DEF_PATH"]
except KeyError: # or it should be available locally under the dir 'definitions'
local_dir = os.path.abspath(os.path.dirname(__file__))
return os.path.join(local_dir, f"..{os.sep}definitions")
return os.path.join(local_dir, f"..{os.sep}..")


def get_hdf_root(hdf_node):
Expand Down

0 comments on commit d3d101f

Please sign in to comment.