Bugfix #1
@ -355,6 +355,11 @@ class ErrorMessage():
|
|||||||
msg += "If the those values are Pubmed ids or DOIs, please ignore this messsage"
|
msg += "If the those values are Pubmed ids or DOIs, please ignore this messsage"
|
||||||
return msg
|
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
|
Genomic Information Error Codes
|
||||||
|
|||||||
@ -405,7 +405,7 @@ SHEETS_SCHEMA = {
|
|||||||
'id_field': 'Accession number',
|
'id_field': 'Accession number',
|
||||||
VALIDATION: {TYPE: MANDATORY, ERROR_CODE: "EFS05"},
|
VALIDATION: {TYPE: MANDATORY, ERROR_CODE: "EFS05"},
|
||||||
ROW_VALIDATION: [
|
ROW_VALIDATION: [
|
||||||
{TYPE: NAGOYA, ERROR_CODE: "STRXXX"},
|
{TYPE: NAGOYA, ERROR_CODE: "STD46"},
|
||||||
],
|
],
|
||||||
COLUMNS: STRAIN_FIELDS,
|
COLUMNS: STRAIN_FIELDS,
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user