Skip to content

Commit

Permalink
Update definitions with nuts
Browse files Browse the repository at this point in the history
  • Loading branch information
dc-almeida committed Sep 18, 2024
1 parent 5ca000c commit 1f23e3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nomenclature/definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ def __init__(self, path, dimensions=None):
self.repo = None

if not path.is_dir() and not (
self.config.repositories or self.config.definitions.region.country
self.config.repositories
or self.config.definitions.region.country
or self.config.definitions.region.nuts
):
raise NotADirectoryError(f"Definitions directory not found: {path}")

Expand Down

0 comments on commit 1f23e3f

Please sign in to comment.