diff --git a/nexus_constructor/json/transformation_reader.py b/nexus_constructor/json/transformation_reader.py index fbd951d2b..c41260d17 100644 --- a/nexus_constructor/json/transformation_reader.py +++ b/nexus_constructor/json/transformation_reader.py @@ -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