aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDannyArends2016-03-28 21:28:33 +0200
committerPjotr Prins2016-04-20 10:19:00 +0000
commit1c1654bb162ff005e925cea228ae8c6a57e0210b (patch)
tree1b8cc3dc024234daddc1210fe917a0bda2eff476
parent87a9aab9c830d267cb9c9adbb10856054e6e12cc (diff)
downloadgenenetwork2-1c1654bb162ff005e925cea228ae8c6a57e0210b.tar.gz
Changed the file stem of generated pictures to CTL
-rw-r--r--wqflask/wqflask/ctl/ctl_analysis.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/ctl/ctl_analysis.py b/wqflask/wqflask/ctl/ctl_analysis.py
index 45bc4c6e..d79d9bfe 100644
--- a/wqflask/wqflask/ctl/ctl_analysis.py
+++ b/wqflask/wqflask/ctl/ctl_analysis.py
@@ -145,7 +145,7 @@ class CTL(object):
# Create an image for output
self.results = {}
- self.results['imgurl1'] = webqtlUtil.genRandStr("WGCNAoutput_") + ".png"
+ self.results['imgurl1'] = webqtlUtil.genRandStr("CTLline_") + ".png"
self.results['imgloc1'] = GENERATED_IMAGE_DIR + self.results['imgurl1']
self.results['ctlresult'] = significant
@@ -159,7 +159,7 @@ class CTL(object):
n = 2
for trait in self.trait_db_list:
# Create the QTL like CTL plots
- self.results['imgurl' + str(n)] = webqtlUtil.genRandStr("WGCNAoutput_") + ".png"
+ self.results['imgurl' + str(n)] = webqtlUtil.genRandStr("CTL_") + ".png"
self.results['imgloc' + str(n)] = GENERATED_IMAGE_DIR + self.results['imgurl' + str(n)]
r_png(self.results['imgloc' + str(n)], width=1000, height=600)
self.r_plotCTLobject(res, (n-1), significance = significance, main='Phenotype ' + trait)