about summary refs log tree commit diff
path: root/wqflask/wqflask
diff options
context:
space:
mode:
authorzsloan2018-04-09 16:32:25 +0000
committerzsloan2018-04-09 16:32:25 +0000
commitab914075b0a83428e471ce7ffbe5700c5c0a9625 (patch)
tree08ffbc304ead5add9a32692f78e5687a5626d5f1 /wqflask/wqflask
parent275cf9b5512df676d23f6f26ba85b5cb2d772b68 (diff)
downloadgenenetwork2-ab914075b0a83428e471ce7ffbe5700c5c0a9625.tar.gz
Removed some unused code in webqtlConfig; some might need to be added back in later when other third party links are implemented on the trait/collection pages
Diffstat (limited to 'wqflask/wqflask')
-rw-r--r--wqflask/wqflask/marker_regression/marker_regression_gn1.py40
1 files changed, 0 insertions, 40 deletions
diff --git a/wqflask/wqflask/marker_regression/marker_regression_gn1.py b/wqflask/wqflask/marker_regression/marker_regression_gn1.py
index a55b6c10..c196b58b 100644
--- a/wqflask/wqflask/marker_regression/marker_regression_gn1.py
+++ b/wqflask/wqflask/marker_regression/marker_regression_gn1.py
@@ -406,51 +406,11 @@ class MarkerRegression(object):
         else:
             self.GraphInterval = self.cMGraphInterval #cM
 
-        ################################################################
-        # Get Trait Values and Infomation
-        ################################################################
-        ##input from search page or selection page
-        #self.searchResult = fd.formdata.getvalue('searchResult')
-        ##convert single selection into a list
-        #if type("1") == type(self.searchResult):
-        #    self.searchResult = string.split(self.searchResult,'\t')
-        #
-        #self.traitList = []
-        #if self.searchResult and len(self.searchResult) > webqtlConfig.MULTIPLEMAPPINGLIMIT:
-        #    heading = 'Multiple Interval Mapping'
-        #    detail = ['In order to get clear result, do not select more than %d traits for \
-        #            Multiple Interval Mapping analysis.' % webqtlConfig.MULTIPLEMAPPINGLIMIT]
-        #    self.error(heading=heading,detail=detail)
-        #    return
-        #elif self.searchResult:
-        #    self.dataSource = 'selectionPage'
-        #    for item in self.searchResult:
-        #        thisTrait = webqtlTrait(fullname=item, cursor=self.cursor)
-        #        thisTrait.retrieveInfo()
-        #        thisTrait.retrieveData(fd.strainlist)
-        #        self.traitList.append(thisTrait)
-        #else:
-
-        #input from data editing page
-        #fd.readData()
-        #if not fd.allTraitData:
-        #    heading = "Mapping"
-        #    detail = ['No trait data was selected for %s data set. No mapping attempted.' % fd.RISet]
-        #    self.error(heading=heading,detail=detail)
-        #    return
-
         self.dataSource = 'editingPage'
         self.traitList = []
         thisTrait = start_vars['this_trait']
-        #fullname = fd.formdata.getvalue('fullname', '')
-        #if fullname:
-        #    thisTrait = webqtlTrait(fullname=fullname, data=fd.allTraitData, cursor=self.cursor)
-        #    thisTrait.retrieveInfo()
-        #else:
-        #    thisTrait = webqtlTrait(data=fd.allTraitData)
         self.traitList.append(thisTrait)
 
-
 ## BEGIN HaplotypeAnalyst
 ## count the amount of individuals to be plotted, and increase self.graphHeight
         if self.haplotypeAnalystChecked and self.selectedChr > -1: