From 463d325f33bc66166ca9975be6ea012839a89ac8 Mon Sep 17 00:00:00 2001 From: Jin Woo Oh <64922399+oh-jinwoo94@users.noreply.github.com> Date: Wed, 12 May 2021 20:21:28 -0400 Subject: [PATCH] Update check_guide_quant_format.py Make it ignore empty lines --- check_guide_quant_format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_guide_quant_format.py b/check_guide_quant_format.py index a3f1425..c71802f 100644 --- a/check_guide_quant_format.py +++ b/check_guide_quant_format.py @@ -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):