Skip to content

Commit

Permalink
Merge branch 'devel' of github.com:biosustain/cameo into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
the-code-magician committed May 18, 2015
2 parents a33dba5 + 11fc41b commit 3a446ef
Show file tree
Hide file tree
Showing 7 changed files with 2,753 additions and 14,814 deletions.
4 changes: 4 additions & 0 deletions cameo/strain_design/heuristic/objective_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ class product_yield(ObjectiveFunction):
"""
def __init__(self, product, substrate, *args, **kwargs):
super(product_yield, self).__init__(*args, **kwargs)
if isinstance(product, Reaction):
product = product.id
self.product = product
if isinstance(substrate, Reaction):
substrate = substrate.id
self.substrate = substrate

def __call__(self, model, solution, decoded_representation):
Expand Down
8,739 changes: 1,737 additions & 7,002 deletions examples/DifferentialFVA.ipynb

Large diffs are not rendered by default.

1,279 changes: 714 additions & 565 deletions examples/Gene Knockout Multiobjective.ipynb

Large diffs are not rendered by default.

119 changes: 107 additions & 12 deletions examples/Pathway Visualizations with Escher.ipynb

Large diffs are not rendered by default.

198 changes: 158 additions & 40 deletions examples/Reaction Knockout Multiobjective.ipynb

Large diffs are not rendered by default.

7,208 changes: 31 additions & 7,177 deletions examples/Reaction Knockout Single Objective.ipynb

Large diffs are not rendered by default.

20 changes: 2 additions & 18 deletions examples/Simulation Methods.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,7 @@
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/joao/.virtualenvs/cameo-env/lib/python2.7/site-packages/IPython/parallel/client/client.py:452: RuntimeWarning: \n",
" Controller appears to be listening on localhost, but not on this machine.\n",
" If this is true, you should specify Client(...,sshserver='you@10.32.0.166')\n",
" or instruct your controller to listen on an external IP.\n",
" RuntimeWarning)\n",
"/Users/joao/.venvburrito/lib/python2.7/site-packages/setuptools-8.2-py2.7.egg/pkg_resources.py:2443: PEP440Warning: 'processing (0.52-pathos)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.\n",
"/Users/joao/.venvburrito/lib/python2.7/site-packages/setuptools-8.2-py2.7.egg/pkg_resources.py:2443: PEP440Warning: 'cameo (v0.2.0-51-gd721048-dirty)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.\n",
"/Users/joao/.venvburrito/lib/python2.7/site-packages/setuptools-8.2-py2.7.egg/pkg_resources.py:2443: PEP440Warning: 'matlabengineforpython (R2014b)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.\n",
"/Users/joao/.venvburrito/lib/python2.7/site-packages/setuptools-8.2-py2.7.egg/pkg_resources.py:2443: PEP440Warning: 'pyre (0.8-pathos)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.\n"
]
}
],
"outputs": [],
"source": [
"from cameo import load_model"
]
Expand Down Expand Up @@ -552,7 +536,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.6"
"version": "2.7.9"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 3a446ef

Please sign in to comment.