Fixed missing error message
This commit is contained in:
parent
332876f58c
commit
192bf4a621
@ -355,6 +355,11 @@ class ErrorMessage():
|
||||
msg += "If the those values are Pubmed ids or DOIs, please ignore this messsage"
|
||||
return msg
|
||||
|
||||
def STD46(self):
|
||||
msg = f"If date of collection/isolation/deposit/inclusion in the catalog is after 2014," \
|
||||
f" the value of Geographic Origin must be provided. It is missing for strain {self.pk}."
|
||||
return msg
|
||||
|
||||
|
||||
"""
|
||||
Genomic Information Error Codes
|
||||
|
||||
@ -405,7 +405,7 @@ SHEETS_SCHEMA = {
|
||||
'id_field': 'Accession number',
|
||||
VALIDATION: {TYPE: MANDATORY, ERROR_CODE: "EFS05"},
|
||||
ROW_VALIDATION: [
|
||||
{TYPE: NAGOYA, ERROR_CODE: "STRXXX"},
|
||||
{TYPE: NAGOYA, ERROR_CODE: "STD46"},
|
||||
],
|
||||
COLUMNS: STRAIN_FIELDS,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user