waldronlab / BugSigDB

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

PMID must be unique #205

Closed lgeistlinger closed 5 months ago

lgeistlinger commented 8 months ago

We have been observing several instances where curators didn't understand the "must be unique" message when trying to create a study that already exists in BugSigDB.

Screenshot 2023-11-13 at 2 34 37 PM

In some of these instances curators went ahead and just created the study anyhow by leaving the PMID field blank and rather entered the DOI or URL and sometimes also added abstract etc manually, essentially leading to study duplication.

I wonder whether the error message "must be unique" could be even clearer and could be changed to "This study already exists in BugSigDB".

tosfos commented 8 months ago

We can customize that message but it would take a significant amount of effort. Would it be good enough to add some sort of message near the field that is always there and says something like "If you get the message "must be unique", this study already exists in BugSigDB and should not be added."?

If not, we can add some custom code.

lwaldron commented 8 months ago

The easy solution sounds fine to me @tosfos

tosfos commented 6 months ago

Sorry about the long delay. Does this work? image

lgeistlinger commented 6 months ago

yes I think this is very clear.