Skip to content

Commit

Permalink
Refactor entrypoint.py to fix issue with retrieving ROHub project ide…
Browse files Browse the repository at this point in the history
…ntifier
  • Loading branch information
cedricdcc committed Sep 23, 2024
1 parent 197b367 commit a3f35ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def get_rohub_id():
# search df for project by filtering on title
rohub_project = projects_df[projects_df["title"] == repo_name]
print(rohub_project)
rohub_id = rohub_project["identifier"]
rohub_id = rohub_project["identifier"][0]
return rohub_id


Expand Down

0 comments on commit a3f35ae

Please sign in to comment.