comparison validate_affy_metadata.py @ 4:9d5a14c913b1 draft

Uploaded
author greg
date Wed, 26 Aug 2020 14:01:36 -0400
parents 7f95329251f0
children 090e2594e4df
comparison
equal deleted inserted replaced
3:7f95329251f0 4:9d5a14c913b1
13 parser.add_argument('--input', dest='input', help='Metadata file for Affymetrix 96 well plate data') 13 parser.add_argument('--input', dest='input', help='Metadata file for Affymetrix 96 well plate data')
14 parser.add_argument('--output', dest='output', help='Output dataset'), 14 parser.add_argument('--output', dest='output', help='Output dataset'),
15 args = parser.parse_args() 15 args = parser.parse_args()
16 16
17 EMAIL_MAX_LEN = 255 17 EMAIL_MAX_LEN = 255
18 VALID_EMAIL_RE = re.compile("[^@]+@[^@]+\.[^@]+") 18 VALID_EMAIL_RE = re.compile(r'[^@]+@[^@]+\.[^@]+')
19 19
20 20
21 def add_error_msg(accumulated_msgs, msg): 21 def add_error_msg(accumulated_msgs, msg):
22 return "%s\n%s" % (accumulated_msgs, msg) 22 return "%s\n%s" % (accumulated_msgs, msg)
23 23