aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorPjotr Prins2015-04-18 12:41:07 +0000
committerPjotr Prins2015-04-18 12:41:07 +0000
commit1f6386cbddfd02d8abbd4e9bcb502c06be6864d1 (patch)
treea2024955320856005947f4d7f5e91eb2668ab091 /wqflask
parentced6f0c49c155a2ab47adfe93578d4718504566b (diff)
downloadgenenetwork2-1f6386cbddfd02d8abbd4e9bcb502c06be6864d1.tar.gz
Show first 40 LOD scores
Diffstat (limited to 'wqflask')
-rwxr-xr-xwqflask/wqflask/marker_regression/marker_regression.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/wqflask/wqflask/marker_regression/marker_regression.py b/wqflask/wqflask/marker_regression/marker_regression.py
index c80bba8e..fba34b99 100755
--- a/wqflask/wqflask/marker_regression/marker_regression.py
+++ b/wqflask/wqflask/marker_regression/marker_regression.py
@@ -127,8 +127,9 @@ class MarkerRegression(object):
#Need to convert the QTL objects that qtl reaper returns into a json serializable dictionary
self.qtl_results = []
- for qtl in self.filtered_markers:
- # print("lod score is:", qtl['lod_score'])
+ for index,qtl in enumerate(self.filtered_markers):
+ if index<40:
+ print("lod score is:", qtl['lod_score'])
if qtl['chr'] == highest_chr and highest_chr != "X" and highest_chr != "X/Y":
print("changing to X")
self.json_data['chr'].append("X")