Skip to content

Commit

Permalink
Update check_guide_quant_format.py
Browse files Browse the repository at this point in the history
Make it ignore empty lines
  • Loading branch information
oh-jinwoo94 authored May 13, 2021
1 parent c826a9f commit 463d325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_guide_quant_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def check_data_types(dfile_name, ifile_name):

with open(ifile_name, 'r') as ifile:
for i, line in enumerate(ifile):
if("negative_control" in line):
if(len(line.rstrip()) == 0 or "negative_control" in line):
continue
words = line.split()
for col in list(col_to_type):
Expand Down

0 comments on commit 463d325

Please sign in to comment.