Mercurial > repos > greg > validate_affy_metadata
comparison validate_affy_metadata.py @ 3:017f975149b2 draft
Uploaded
author | greg |
---|---|
date | Wed, 14 Nov 2018 14:53:02 -0500 |
parents | f3ca1cd544fa |
children | f8488ab257ac |
comparison
equal
deleted
inserted
replaced
2:f3ca1cd544fa | 3:017f975149b2 |
---|---|
64 continue | 64 continue |
65 line = line.rstrip("\r\n") | 65 line = line.rstrip("\r\n") |
66 if i > 97: | 66 if i > 97: |
67 accumulated_msgs = add_error_msg(accumulated_msgs, "The input file contains more than 96 data lines.") | 67 accumulated_msgs = add_error_msg(accumulated_msgs, "The input file contains more than 96 data lines.") |
68 stop_error(accumulated_msgs) | 68 stop_error(accumulated_msgs) |
69 items = line.split("\t") | 69 items = line.split(",") |
70 if len(items) != 31: | 70 if len(items) != 31: |
71 accumulated_msgs = add_error_msg(accumulated_msgs, "Line %d contains %s columns, (must be 31)." % (i, len(items))) | 71 accumulated_msgs = add_error_msg(accumulated_msgs, "Line %d contains %s columns, (must be 31)." % (i, len(items))) |
72 stop_error(accumulated_msgs) | 72 stop_error(accumulated_msgs) |
73 # Required. | 73 # Required. |
74 sample_id = items[0] | 74 sample_id = items[0] |