diff validate_affy_metadata.py @ 6:090e2594e4df draft

Uploaded
author greg
date Thu, 15 Jul 2021 20:02:45 +0000
parents 9d5a14c913b1
children
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