Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lzehl authored Jan 30, 2025
1 parent 3c43e0c commit 956e3f9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pipeline/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def get_relative_paths_and_schemas_for_instancelib_docu(self, absolute_paths_for
# define relative path of instance library docu (with list to absolute paths of all related instances)
relative_instance_path = os.path.relpath(absolute_path_instance, start=os.path.join(self.instances_sources, version)).replace('.jsonld', '')
relative_instancelib_path = "/".join(relative_instance_path.split("/")[:-1])
print(relative_instancelib_path)
if relative_instancelib_path in relative_paths_for_instancelib_docu:
relative_paths_for_instancelib_docu[relative_instancelib_path].append(absolute_path_instance)
else:
Expand Down

0 comments on commit 956e3f9

Please sign in to comment.