Skip to content

Commit

Permalink
Fix org and project metadata (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
crisely09 authored Jun 14, 2024
1 parent e55d953 commit 03d9870
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kgforge/specializations/stores/bluebrain_nexus.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,8 @@ def _prepare_download_one(
) -> Tuple[str, str]:
if cross_bucket:
if store_metadata is not None:
org, project = store_metadata._project.split("/")
project = store_metadata._project.split("/")[-1]
org = store_metadata._project.split("/")[-2]
else:
raise ValueError(
f"Downloading non registered file is not allowed when cross_bucket is set to True"
Expand Down

0 comments on commit 03d9870

Please sign in to comment.