aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorroot2012-05-22 12:52:14 -0500
committerroot2012-05-22 12:52:14 -0500
commit3615c04e37073d4e0746d44a39ddfaaea31e54a6 (patch)
tree0811d187dc932009cbb24d8b29b31e2ca58a4dda /web
parent89dd9b4fe8e2e1011f28d8ff688bc9e14c344ef7 (diff)
downloadgenenetwork2-3615c04e37073d4e0746d44a39ddfaaea31e54a6.tar.gz
On branch master
Your branch is ahead of 'origin/master' by 2 commits. Changes to be committed: (use "git reset HEAD <file>..." to unstage) deleted: web/webqtl/pubmedsearch/PubmedSearch.py deleted: web/webqtl/pubmedsearch/PubmedSearchRe.py deleted: web/webqtl/pubmedsearch/__init__.py deleted: web/webqtl/search/pubmedsearch.py
Diffstat (limited to 'web')
-rwxr-xr-xweb/webqtl/pubmedsearch/PubmedSearch.py58
-rwxr-xr-xweb/webqtl/pubmedsearch/PubmedSearchRe.py57
-rwxr-xr-xweb/webqtl/pubmedsearch/__init__.py0
-rwxr-xr-xweb/webqtl/search/pubmedsearch.py12
4 files changed, 0 insertions, 127 deletions
diff --git a/web/webqtl/pubmedsearch/PubmedSearch.py b/web/webqtl/pubmedsearch/PubmedSearch.py
deleted file mode 100755
index 8e7b0725..00000000
--- a/web/webqtl/pubmedsearch/PubmedSearch.py
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright (C) University of Tennessee Health Science Center, Memphis, TN.
-#
-# This program is free software: you can redistribute it and/or modify it
-# under the terms of the GNU Affero General Public License
-# as published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU Affero General Public License for more details.
-#
-# This program is available from Source Forge: at GeneNetwork Project
-# (sourceforge.net/projects/genenetwork/).
-#
-# Contact Drs. Robert W. Williams and Xiaodong Zhou (2010)
-# at rwilliams@uthsc.edu and xzhou15@uthsc.edu
-#
-#
-#
-# This module is used by GeneNetwork project (www.genenetwork.org)
-#
-# Created by GeneNetwork Core Team 2010/08/10
-#
-# Last updated by GeneNetwork Core Team 2010/10/20
-
-#geneWikiPage.py
-#
-#This one's pretty self-evident from the title. If you use the GeneWiki module, this is what's behind it. -KA
-
-# Xiaodong changed the dependancy structure
-
-from htmlgen import HTMLgen2 as HT
-import os
-import string
-
-from base.templatePage import templatePage
-from base import webqtlConfig
-from utility import webqtlUtil
-
-#########################################
-#########################################
-
-class PubmedSearch(templatePage):
-
- def __init__(self, fd):
- templatePage.__init__(self, fd)
- self.content_type = 'text/html'
- Heading = HT.Paragraph("pubmed search", Class="title")
- Intro = HT.Blockquote("This is a description.")
- form = HT.Form(cgi=os.path.join(webqtlConfig.CGIDIR, webqtlConfig.SCRIPTFILE), name='pubmedsearch', submit=HT.Input(type='hidden'))
- form.append(HT.Input(type="text", size = 45, maxlength=100, name="symbol"))
- form.append(HT.Input(type="hidden", name="FormID", value="pubmedsearchre"))
- form.append(HT.Input(type="submit", name="submit", value="submit", Class="button"))
- TD_LR = HT.TD(height=200,width="100%",bgColor='#eeeeee',valign="top")
- TD_LR.append(Heading, Intro, HT.Center(form))
- self.dict['body'] = str(TD_LR)
- self.dict['title'] = "Pubmed Search" \ No newline at end of file
diff --git a/web/webqtl/pubmedsearch/PubmedSearchRe.py b/web/webqtl/pubmedsearch/PubmedSearchRe.py
deleted file mode 100755
index fcbfd941..00000000
--- a/web/webqtl/pubmedsearch/PubmedSearchRe.py
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright (C) University of Tennessee Health Science Center, Memphis, TN.
-#
-# This program is free software: you can redistribute it and/or modify it
-# under the terms of the GNU Affero General Public License
-# as published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU Affero General Public License for more details.
-#
-# This program is available from Source Forge: at GeneNetwork Project
-# (sourceforge.net/projects/genenetwork/).
-#
-# Contact Drs. Robert W. Williams and Xiaodong Zhou (2010)
-# at rwilliams@uthsc.edu and xzhou15@uthsc.edu
-#
-#
-#
-# This module is used by GeneNetwork project (www.genenetwork.org)
-#
-# Created by GeneNetwork Core Team 2010/08/10
-#
-# Last updated by GeneNetwork Core Team 2010/10/20
-
-#geneWikiPage.py
-#
-#This one's pretty self-evident from the title. If you use the GeneWiki module, this is what's behind it. -KA
-
-# Xiaodong changed the dependancy structure
-
-from htmlgen import HTMLgen2 as HT
-import os
-import string
-
-from base.templatePage import templatePage
-from base import webqtlConfig
-from utility import webqtlUtil
-
-#########################################
-#########################################
-
-class PubmedSearchRe(templatePage):
-
- def __init__(self, fd):
- templatePage.__init__(self, fd)
- self.content_type = 'text/html'
- Heading = HT.Paragraph("pubmed search", Class="title")
- Intro = HT.Blockquote("This is a description.")
-
- table = HT.TableLite(border=0, cellpadding=0, cellspacing=0)
-
- TD_LR = HT.TD(height=200,width="100%",bgColor='#eeeeee',valign="top")
- TD_LR.append(Heading, Intro, HT.Center(form))
- self.dict['body'] = str(TD_LR)
- self.dict['title'] = "Pubmed Search" \ No newline at end of file
diff --git a/web/webqtl/pubmedsearch/__init__.py b/web/webqtl/pubmedsearch/__init__.py
deleted file mode 100755
index e69de29b..00000000
--- a/web/webqtl/pubmedsearch/__init__.py
+++ /dev/null
diff --git a/web/webqtl/search/pubmedsearch.py b/web/webqtl/search/pubmedsearch.py
deleted file mode 100755
index d0d18ff5..00000000
--- a/web/webqtl/search/pubmedsearch.py
+++ /dev/null
@@ -1,12 +0,0 @@
-import sys
-import os
-import MySQLdb
-import time
-
-db='db_webqtl_leiyan'
-author="megan memphis"
-
-con = MySQLdb.Connect(db=db,user='webqtlupd',passwd='webqtl', host="localhost")
-cursor = con.cursor()
-cursor.execute('select PhenotypeId, Locus, DataId, Phenotype.Post_publication_description from PublishXRef, Phenotype where PublishXRef.PhenotypeId = Phenotype.Id and InbredSetId=%s'%InbredSetId)
-PublishXRefInfos = cursor.fetchall()