aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexanderlacuna2020-11-08 21:51:11 +0300
committerAlexanderlacuna2020-11-08 21:51:11 +0300
commit8c0e0f0629d69672375159200c57136ced644572 (patch)
treee76278e2ddc4bae981afb9497fb8020762ec31af
parent9560e6337d00a82d8f36073b31215735eb9a8c01 (diff)
downloadgenenetwork2-8c0e0f0629d69672375159200c57136ced644572.tar.gz
Change defaultline argument in the build_line_list from None to empty string
-rw-r--r--wqflask/wqflask/marker_regression/plink_mapping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/marker_regression/plink_mapping.py b/wqflask/wqflask/marker_regression/plink_mapping.py
index fd91b6ca..8d57d556 100644
--- a/wqflask/wqflask/marker_regression/plink_mapping.py
+++ b/wqflask/wqflask/marker_regression/plink_mapping.py
@@ -154,7 +154,7 @@ def parse_plink_output(output_filename, species):
# function: convert line from str to list;
# output: lineList list
#######################################################
-def build_line_list(line=None):
+def build_line_list(line=""):
line_list = line.strip().split(' ')# irregular number of whitespaces between columns
line_list = [item for item in line_list if item !='']
line_list = [item.strip() for item in line_list]