Skip to content

Commit

Permalink
add default falue to get statement
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelLukowski committed Mar 4, 2024
1 parent 6f42979 commit dc9ebb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/scripts/healdata/heal-cedar-data-ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def get_related_studies(serial_num, hostname):
# setup repository_study_link
data_repositories = (
mds_res
.get("gen3_discovery")
.get("gen3_discovery", {})
.get("study_metadata", {})
.get("metadata_location", {})
.get("data_repositories", [])
Expand Down

0 comments on commit dc9ebb5

Please sign in to comment.