Closed Bknmn closed 2 years ago
Thanks for the report!
This problem was caused by the update in dependencies. #265 solves this issue. Thus, until the next release, I'd suggest for using the devel
branch and see if that solves the problem:
python -m pip install git+https://github.com/biosustain/cameo.git
I tested the notebooks and it works but be aware that the plotting functions work a bit different now (the tutorials need an update). For instance, you would need to change the cells [4]
-[5]
of 05-predict-gene-knockout-strategies.ipynb to
from cameo import phenotypic_phase_plane
from cameo.visualization.plotting.with_plotly import PlotlyPlotter
plotter = PlotlyPlotter()
p = phenotypic_phase_plane(model, variables=['BIOMASS_Ec_iJO1366_core_53p95M'], objective='EX_ac_e')
p.plot(plotter, points=[(growth, acetate_production)])
Hi @Bknmn,
cameo 0.13.0 is out! Upgrading the package and using the code above should fix your problem.
Thanks a lot!! , I upgrade the package rigth now
Fabian
El mar., 10 nov. 2020 05:21, Jorge Carrasco notifications@github.com escribió:
Hi @Bknmn https://github.com/Bknmn,
cameo 0.13.0 is out! Upgrading the package and using the code above should fix your problem.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/biosustain/cameo/issues/266#issuecomment-724542337, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALWSVFMHOSWIM7DTN3H2PHDSPDZXHANCNFSM4TMEOWGA .
Finally in the documentation (598b0a009475369dcddc47db2d2fb4d91f199f40). For instance, https://cameo.bio/05-predict-gene-knockout-strategies.html
I'm having some problems getting with OPTNOCK, OPTGENE for SPICY.CORE.numbers.Zero was not iterable
So I installed the default version of python (3.7.6). and SYMPY(1.6.2)
I'm trying to run some of the PhPP, OPTNOCK and OPTGENE from tutorials, but I keep getting an Import Error. “TypeError: item in iterable cannot be '<class 'sympy.core.numbers.Zero'>'”
Here's the whole error message:
TypeError Traceback (most recent call last)