comparison validate_affy_metadata.py @ 1:613186952d42 draft

Uploaded
author greg
date Wed, 14 Nov 2018 14:50:08 -0500
parents ae030e6e838c
children f3ca1cd544fa
comparison
equal deleted inserted replaced
0:ae030e6e838c 1:613186952d42
56 56
57 accumulated_msgs = "" 57 accumulated_msgs = ""
58 # Parse the input file, skipping the header, and validating 58 # Parse the input file, skipping the header, and validating
59 # that each data line consists of 31 comma-separated items. 59 # that each data line consists of 31 comma-separated items.
60 with open(args.input, "r") as ih: 60 with open(args.input, "r") as ih:
61 for i, line in ih: 61 for i, line in enumerate(ih):
62 if i == 0: 62 if i == 0:
63 # Skip the header. 63 # Skip the header.
64 continue 64 continue
65 line = line.rstrip("\r\n") 65 line = line.rstrip("\r\n")
66 if i > 97: 66 if i > 97: