changeset 1:613186952d42 draft

Uploaded
author greg
date Wed, 14 Nov 2018 14:50:08 -0500
parents ae030e6e838c
children f3ca1cd544fa
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 14 14:47:32 2018 -0500
+++ b/validate_affy_metadata.py	Wed Nov 14 14:50:08 2018 -0500
@@ -58,7 +58,7 @@
 # Parse the input file, skipping the header, and validating
 # that each data line consists of 31 comma-separated items.
 with open(args.input, "r") as ih:
-    for i, line in ih:
+    for i, line in enumerate(ih):
         if i == 0:
             # Skip the header.
             continue