Beispiel #1
0
 def index3(self):
     # Return a rendered template
     #return render('/statistics.mako')
     # or, return a string
     
     AMPSStartDate = date(2012, 11, 01)
     c.stringResults = self.stat3({'maxocc': 5}, AMPSStartDate)
     weNMRStartDate = date(2010, 11, 01)
     #c.stringResults2 = self.stat({'amber': 2}, weNMRStartDate)
     
     c.stringResults2 = self.stat({'maxocc': 5}, weNMRStartDate)
     
     return render('/statistics/stathome.mako')
Beispiel #2
0
    def index(self):
        # Return a rendered template
        #return render('/feedback.mako')
        # or, return a response
        if 'type' in request.params:
            t = request.GET.get('type')
            if t == 'anisofit':
                c.title = "AnisoFIT"
                c.subtitle = ""
                c.breadcrump = "anisofit"
            else:
                c.title = "AMBER"
                c.subtitle = "(including paramagnetic restraints plugin)"
                c.breadcrump = "amber"
        else:
            c.title = 'Feedback'
            c.subtitle = ''
            c.breadcrump = "feedback"

        return render('/contact/feedback2.mako')
Beispiel #3
0
 def xplorambersetup(self):
     return render('/filesystem/xploramber.mako',
                   extra_vars={
                       'xplorprj': session["XPLORPRJ"],
                       'xplorcalc': session["XPLORCALC"]
                   })
Beispiel #4
0
 def index(self):
     # Return a rendered template
     #return render('/filemanager.mako')
     # or, return a response
     #abort(505, 'Internal SE')
     return render('/filesystem/finder.mako')
Beispiel #5
0
 def index(self):
     return render('/calculations/xplor_calc.mako')
Beispiel #6
0
 def index(self):
     # Return a rendered template
     return render('/sedNMR.mako')