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 e12ed69 commit 3c43e0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pipeline/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ 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 3c43e0c

Please sign in to comment.