Browse Source

Committer: root <root@lily.uthsc.edu>

On branch master
master
root 7 years ago
parent
commit
55818d154e
  1. 2
      secure/.gitignore
  2. 3
      web/webqtl/base/webqtlConfig.py
  3. 2
      web/webqtl/base/webqtlDataset.py

2
secure/.gitignore

@ -1 +1 @@
# gitignore
*.xls

3
web/webqtl/base/webqtlConfig.py

@ -68,8 +68,7 @@ ChangableHtmlPath = GNROOT + 'web/'
SITENAME = 'GN'
PORTADDR = "http://132.192.47.32"
BASEHREF = '<base href="http://132.192.47.32/">'
#INFOPAGEHREF = '/dbdoc/%s.html'
INFOPAGEHREF = '/webqtl/main.py?FormID=sharinginfo&GN_AccessionId=%s'
INFOPAGEHREF = '/webqtl/main.py?FormID=sharinginfo&InfoPageName=%s'
GLOSSARYFILE = "/glossary.html"
CGIDIR = '/webqtl/' #XZ: The variable name 'CGIDIR' should be changed to 'PYTHONDIR'
SCRIPTFILE = 'main.py'

2
web/webqtl/base/webqtlDataset.py

@ -152,7 +152,7 @@ class webqtlDataset:
def genHTML(self, Class='c0dd'):
return HT.Href(text = HT.Span('%s Database' % self.fullname, Class= "fwb " + Class),
url= webqtlConfig.INFOPAGEHREF % self.id,target="_blank")
url= webqtlConfig.INFOPAGEHREF % self.name,target="_blank")

Loading…
Cancel
Save