aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/marker_regression/gemma_mapping.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/wqflask/wqflask/marker_regression/gemma_mapping.py b/wqflask/wqflask/marker_regression/gemma_mapping.py
index 4e3c203d..895d4ac6 100644
--- a/wqflask/wqflask/marker_regression/gemma_mapping.py
+++ b/wqflask/wqflask/marker_regression/gemma_mapping.py
@@ -221,7 +221,11 @@ def parse_loco_output(this_dataset, gwa_output_filename):
marker_obs = []
previous_chr = 0
+ no_results = False
for this_file in output_filelist:
+ if not os.path.isfile(this_file):
+ no_results = True
+ break
with open(this_file) as output_file:
for line in output_file:
if line.startswith("chr\t"):