コード例 #1
0
 def evaluate(self, args):
     morph = args['morph']
     ws = morph.ws_id
     for med in self.media:
         morph = args['morph']
         model = args['model'] if 'model' in args else morph.model
         info = service.runfba(model, med, workspace=morph.ws_id)
         fba = objects.FBA(info[0], info[1])
         self.fba = fba
         if not fba.objective > 0.0:
             return False
     return True
コード例 #2
0
 def evaluate(self, arguments):
     raise NotImplementedError()
     morph = arguments['morph']
     model = arguments['model'] if 'model' in arguments else morph.model
     info = service.runfba(model, morph.media, workspace=morph.ws_id)
     fba = objects.FBA(info[0], info[1])
コード例 #3
0
 def evaluate(self, arguments):
     morph = arguments['morph']
     model = arguments['model'] if 'model' in arguments else morph.model
     info = service.runfba(model, morph.media, workspace=morph.ws_id)
     self.fba = objects.FBA(info[0], info[1])
     return self.fba.objective > 0.0