Skip to content

Commit

Permalink
Merge pull request #302 from IFB-ElixirFr/hmenager-doi-errormsg
Browse files Browse the repository at this point in the history
correct DOI format validation error message
  • Loading branch information
bryan-brancotte authored Oct 19, 2023
2 parents 3ee2d2f + e705dd4 commit 34ee891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ifbcat_api/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def validate_doi(value):
return value
if not __p_doi.search(value.__str__()):
raise ValidationError(
'This field can only contain valid EDAM Topic URIs (%s is not). Syntax: %s' % (value, __p_doi_regexp)
'This field can only contain valid DOI URIs (%s is not). Syntax: %s' % (value, __p_doi_regexp)
)
return value

Expand Down

0 comments on commit 34ee891

Please sign in to comment.