Skip to content

Commit

Permalink
Fix bug in csv parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Madeleine Price Ball committed Aug 31, 2012
1 parent 5728317 commit 0582312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/conversion/detect_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def detect_format(file_input):

# Look at other lines and decide based on their format.
tsv_data = line.split('\t')
csv_data = list(csv.reader([line]))
csv_data = list(csv.reader([line]))[0]

if ( len(csv_data) > 5 and
re.match(r'rs', csv_data[0]) and
Expand Down

0 comments on commit 0582312

Please sign in to comment.