Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
better aligned _create_transformations with load_from_json.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ggoneiESS committed Sep 15, 2023
1 parent ce090f3 commit f5e0801
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nexus_constructor/json/transformation_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ def _create_transformations(self, json_transformations: list):
depends_on = _find_attribute_from_list_or_dict(
CommonAttrs.DEPENDS_ON, attributes
)
if depends_on not in [".", "", None]:
if depends_on not in DEPENDS_ON_IGNORE:
# relative paths warnings were sent to user when JSON was read in
if depends_on[0] != "/":
depends_on = (
self.parent_component.absolute_path
Expand Down

0 comments on commit f5e0801

Please sign in to comment.