Skip to content

Commit

Permalink
Fix bug introduced in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ehennestad committed Mar 12, 2024
1 parent 0dd3133 commit ccaedc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def save_resource_files(version, schema_path_list):

# Remove redundant path information
schema_path = schema_path.replace(root_directory, "")
schema_path = schema_path.replace(f"/sources/schemas/{version}/", "")
schema_path = schema_path.replace(f"/_sources/openMINDS/schemas/{version}/", "")
schema_path = schema_path.replace(".schema.omi.json", "")
if schema_path[0] == "/":
schema_path = schema_path[1:]
Expand Down

0 comments on commit ccaedc1

Please sign in to comment.