Modificar 'validation/error_logging/error_message.py'
This commit is contained in:
parent
f188754bc7
commit
e26883e68e
@ -452,11 +452,6 @@ class ErrorMessage():
|
|||||||
return (f"The 'type' for strain with accessionNumber {self.pk} is incorrect."
|
return (f"The 'type' for strain with accessionNumber {self.pk} is incorrect."
|
||||||
f"Your value is {self.value} and the accepted values are 1, 2.")
|
f"Your value is {self.value} and the accepted values are 1, 2.")
|
||||||
|
|
||||||
def STD64(self):
|
|
||||||
return (f"The 'status' for strain with accessionNumber {self.pk} is incorrect."
|
|
||||||
"When the type equal 2 the status must contain the type,"
|
|
||||||
"if the type equal 2 the status must have a null value.")
|
|
||||||
|
|
||||||
def STD65(self):
|
def STD65(self):
|
||||||
return (f"The 'status' for strain with accessionNumber {self.pk} is incorrect."
|
return (f"The 'status' for strain with accessionNumber {self.pk} is incorrect."
|
||||||
"The structure should be 'type of <character string>.")
|
"The structure should be 'type of <character string>.")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user