waldronlab / BugSigDB

A microbial signatures database
https://bugsigdb.org
7 stars 6 forks source link

Prevent entering PMIDs with leading zeros #178

Closed lgeistlinger closed 1 year ago

lgeistlinger commented 1 year ago

It is currently possible to enter a PMID with leading zeros. This should be prevented in the Study form where curators enter this information, as this leads to study duplication:

https://bugsigdb.org/Study_580 (PMID entered without leading 0) https://bugsigdb.org/Study_731 (PMID entered with leading 0)

lwaldron commented 1 year ago

Amazing the corner cases we get once a lot of people start curating. Worth eliminating leading zeroes.

tosfos commented 1 year ago

Should be done now. Please let us know if you experience any issues.

lgeistlinger commented 1 year ago

Looks good! Thanks!