Skip to content

Commit

Permalink
SACGF/variantgrid_private#3680 ClinVar uploads - bug fix or ID conver…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
TheMadBug committed Jul 19, 2024
1 parent 930c99d commit 9f6f323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classification/models/clinvar_export_convertor.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def citations(self) -> list[ValidatedJson]:
if clinvar_db := ClinVarExportConverter.CITATION_SOURCE_TO_CLINVAR.get(citation.source):
citation_id = citation.id
if citation.source == CitationSource.NCBI_BOOKSHELF:
if m := ClinVarExportConverter.BOOKSHELF_ID_RE.match():
if m := ClinVarExportConverter.BOOKSHELF_ID_RE.match(citation_id):
citation_id = m.group(1)

citation_json = {
Expand Down

0 comments on commit 9f6f323

Please sign in to comment.