Ejemplo n.º 1
0
 def project_status(self):
     if not self._check_pargs(["project_name"]):
         return
     kw = vars(self.pargs)
     kw.update({"samplesdb":self.app.config.get("db", "samples"), "flowcelldb":self.app.config.get("db", "flowcells"), "projectdb":self.app.config.get("db", "projects")})
     out_data = project_status_note(**kw)
     self.app._output_data['stdout'].write(out_data['stdout'].getvalue())
     self.app._output_data['stderr'].write(out_data['stderr'].getvalue())
     self.app._output_data['debug'].write(out_data['debug'].getvalue())
Ejemplo n.º 2
0
 def project_status(self):
     if not self._check_pargs(["project_name"]):
         return
     kw = vars(self.pargs)
     kw.update({
         "samplesdb": self.app.config.get("db", "samples"),
         "flowcelldb": self.app.config.get("db", "flowcells"),
         "projectdb": self.app.config.get("db", "projects")
     })
     out_data = project_status_note(**kw)
     self.app._output_data['stdout'].write(out_data['stdout'].getvalue())
     self.app._output_data['stderr'].write(out_data['stderr'].getvalue())
     self.app._output_data['debug'].write(out_data['debug'].getvalue())