Skip to content

Commit

Permalink
Merge pull request PGScatalog#362 from fyvon/fix/import/doi_ignore_case
Browse files Browse the repository at this point in the history
Ignore case when getting curation tracker publication by DOI
  • Loading branch information
fyvon authored May 2, 2024
2 parents 8fd6875 + 5ced2fd commit 1fa3ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion curation/imports/curation.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def run_curation_import(self):
curation_pub = None
if study_import.study_publication.doi:
try:
curation_pub = CurationPublicationAnnotation.objects.using(curation_tracker).get(doi=study_import.study_publication.doi)
curation_pub = CurationPublicationAnnotation.objects.using(curation_tracker).get(doi__iexact=study_import.study_publication.doi)
print(" > Study found using the publication DOI")
except CurationPublicationAnnotation.DoesNotExist:
print(" ! Study NOT found using the publication DOI")
Expand Down

0 comments on commit 1fa3ea0

Please sign in to comment.