changeset 6:090e2594e4df draft

Uploaded
author greg
date Thu, 15 Jul 2021 20:02:45 +0000
parents 9fce688a1e91
children b83be3be70a4
files validate_affy_metadata.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/validate_affy_metadata.py	Wed Nov 11 18:27:41 2020 +0000
+++ b/validate_affy_metadata.py	Thu Jul 15 20:02:45 2021 +0000
@@ -59,7 +59,7 @@
     if not (VALID_EMAIL_RE.match(email)):
         return add_error_msg(accumulated_msgs, "Line %d contains an invalid email address (%s).  " % (line_no, email))
     elif len(email) > EMAIL_MAX_LEN:
-        return add_error_msg(accumulated_msgs, "Line %d contains an email address (%) that is longer than the maximum length, %d characters." % (line_no, email))
+        return add_error_msg(accumulated_msgs, "Line %d contains an email address (%s) that is longer than the maximum length, %d characters." % (line_no, email, EMAIL_MAX_LEN))
     return accumulated_msgs