Skip to content

Commit

Permalink
Merge pull request PGScatalog#278 from ens-lgil/feature/gwas_import_w…
Browse files Browse the repository at this point in the history
…arning

Change error to warning when a GCST ID can't be found in GWAS Catalog
  • Loading branch information
ens-lgil authored Aug 24, 2023
2 parents 1a2b8a0 + e2a36da commit 1dfbad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion curation/template_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def extract_samples(self):
self.update_report(c_sample)
samples_list.append(c_sample)
else:
self.report_error(spreadsheet_name, f'Can\'t fetch the GWAS information for the study {sample_data.data["source_GWAS_catalog"]}')
self.report_warning(spreadsheet_name, f'Can\'t fetch the GWAS information for the study {sample_data.data["source_GWAS_catalog"]}')
else:
self.report_error(spreadsheet_name, f'Missing GWAS Study ID (GCST ID) to fetch the sample information')
if len(samples_list) == 0:
Expand Down

0 comments on commit 1dfbad5

Please sign in to comment.