Beispiel #1
0
 def test_application_qc(self):
     """Test application specific qc"""
     data = application_qc(
         application="reseq",
         project_name=self.examples["project"],
         flowcell=self.examples["flowcell"].split("_")[-1],
         username=self.user,
         password=self.pw,
         projectdb="projects-test",
         sampledb="samples-test",
         url=self.url)
     tab = [
         x for x in data['stdout'].getvalue().split("\n")
         if x.startswith("P001")
     ]
     self.assertEqual(len(tab), 2)
Beispiel #2
0
 def application_qc(self):
     if not self._check_pargs(["project_name"]):
         return
     out_data = application_qc(**vars(self.pargs))
     self.app._output_data['stdout'].write(out_data['stdout'].getvalue())
     self.app._output_data['stderr'].write(out_data['stderr'].getvalue())
 def application_qc(self):
     if not self._check_pargs(["project_name"]):
         return
     out_data = application_qc(**vars(self.pargs))
     self.app._output_data['stdout'].write(out_data['stdout'].getvalue())
     self.app._output_data['stderr'].write(out_data['stderr'].getvalue())
Beispiel #4
0
 def test_application_qc(self):
     """Test application specific qc"""
     data = application_qc(application="reseq", project_name=self.examples["project"], flowcell=self.examples["flowcell"].split("_")[-1], username=self.user, password=self.pw, projectdb="projects-test", sampledb="samples-test", url=self.url)
     tab = [x for x in data['stdout'].getvalue().split("\n") if x.startswith("P001")]
     self.assertEqual(len(tab), 2)