Giter VIP home page Giter VIP logo

scobra's Introduction

scobra

scobra is a supplementary package for COBRApy. This version is specifically for Python 3.6 and above.

To install scobra, run this line:

pip install scobra

scobra's People

Contributors

kristoforusbryant avatar mauriceccy avatar ajsanjoaquin avatar rahulnutron avatar nihalzp avatar sewenthy avatar naychi-7 avatar airconaaron avatar themogget avatar

Stargazers

 avatar Tiago Moreira Machado avatar  avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar Maaz  avatar

scobra's Issues

ConstraintScan putting cobra=True option

currently the ConstraintScan has MinFlux=True option which uses MinFluxSolve. It would be good to add allow to user to choose MinFluxSolve(cobra=True). Currently the default is False and there is no option to make it True.

Would be good to implement both:
i) Add an option to allow user to choose cobra=True when MinFlux=True
ii) make cobra=True the default

MinFluxSolve stopped after infeasible

The old version of scobra (available in our Frontiers dfba paper's supplementary) works (Windows 10) but latest (downloaded from github recently in virtualbox Ubuntu linux) not working. This problem happens with MinFluxSolve in the latest scobra but not in the old version. In old version after infeasible, codes continues for next iteration. I will try to update again.

Error:
/usr/local/lib/python2.7/dist-packages/cobra/util/solver.pyc in assert_optimal(model, message)
423 """
424 if model.solver.status != optlang.interface.OPTIMAL:
--> 425 raise OPTLANG_TO_EXCEPTIONS_DICTmodel.solver.status

Infeasible: None

printing during (minflux)solve

From Rahul: I have a small suggestion, instead of printing extra 'no solution', 'no solution found' (even PrintStatus=False) just printing solver status should be fine (should be default). Also I am not sure about the difference between 'no solution' and 'no solution found'. I saw PrintStatus=True is default in MinFluxSolve, but not working (only shows 'no solution', and 'no solution found'; no printing of 'optimal' or 'infeasible').

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.