def setUp(self):
     self.app = app.test_client()
     temp = self.app.post('/g2e/api/extract/geo', data=dict(
         skip_target_apps=True,
         is_geo=True,
         # T-test is just faster
         diffexp_method='ttest',
         correction_metrequired_metadatahod='BH',
         threshold=0.05,
         dataset='GDS5077',
         platform='GPL10558',
         organism='H**o sapiens',
         normalize=False,
         A_cols=['GSM1071454', 'GSM1071455'],
         B_cols=['GSM1071457', 'GSM1071456']
     ))
     post_response = json.loads(temp.data.decode())
     self.extraction_id = post_response['extraction_id']
Beispiel #2
0
 def setUp(self):
     self.app = app.test_client()
     temp = self.app.post(
         '/g2e/api/extract/geo',
         data=dict(
             skip_target_apps=True,
             is_geo=True,
             # T-test is just faster
             diffexp_method='ttest',
             correction_metrequired_metadatahod='BH',
             threshold=0.05,
             dataset='GDS5077',
             platform='GPL10558',
             organism='H**o sapiens',
             normalize=False,
             A_cols=['GSM1071454', 'GSM1071455'],
             B_cols=['GSM1071457', 'GSM1071456']))
     post_response = json.loads(temp.data.decode())
     self.extraction_id = post_response['extraction_id']
 def setUp(self):
     self.app = app.test_client()
 def setUp(self):
     self.app = app.test_client()
Beispiel #5
0
 def setUp(self):
     # We just want to create and test against a real request object,
     # particularly with the `getlist` function.
     self.app = app.test_client()