Skip to content

Commit

Permalink
Ignore case when getting curation tracker publication by DOI
Browse files Browse the repository at this point in the history
  • Loading branch information
fyvon committed May 2, 2024
1 parent 983f7e7 commit 5ced2fd
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 5ced2fd

Please sign in to comment.