Skip to content

Commit

Permalink
Merge pull request #59 from CanDIG/develop
Browse files Browse the repository at this point in the history
Stable: Missing response hotfix
  • Loading branch information
OrdiNeu authored Oct 24, 2024
2 parents d3cccfe + a83b046 commit 3eed790
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion query_server/query_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,8 @@ def query(treatment="", primary_site="", drug_name="", systemic_therapy_type="",
# sample_ids = genomic_query_info[cohort]

htsget_found_donors = {}
for response in htsget['response']:
responses = htsget['response'] if 'response' in htsget else []
for response in responses:
for case_data in response['caseLevelData']:
if 'biosampleId' not in case_data:
logger.error(f"Could not parse htsget response for {case_data}")
Expand Down

0 comments on commit 3eed790

Please sign in to comment.