Skip to content

Commit

Permalink
Use Code from external repo attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
David Almeida committed Jan 29, 2025
1 parent 84f64fb commit 0fbaafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomenclature/codelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def _check_string(attr, value):
_check_string(attr, item)

for code in self.mapping.values():
if not code.repository:
if not code.from_external_repository:
for attr, value in code.model_dump(exclude="file").items():
_check_string(attr, value)
if errors:
Expand Down

0 comments on commit 0fbaafd

Please sign in to comment.