aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/marker_regression/run_mapping.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/wqflask/marker_regression/run_mapping.py b/wqflask/wqflask/marker_regression/run_mapping.py
index 769b9240..9d70bb15 100644
--- a/wqflask/wqflask/marker_regression/run_mapping.py
+++ b/wqflask/wqflask/marker_regression/run_mapping.py
@@ -556,7 +556,8 @@ def export_mapping_results(dataset, trait, markers, results_path, mapping_method
transform_text = ""
output_file.write(transform_text + "\n")
if dataset.type == "ProbeSet":
- output_file.write("Gene Symbol: " + trait.symbol + "\n")
+ if trait.symbol:
+ output_file.write("Gene Symbol: " + trait.symbol + "\n")
output_file.write("Location: " + str(trait.chr) + \
" @ " + str(trait.mb) + " Mb\n")
if len(covariates) > 0: