You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was not able to import comets as c, so I changed it to import cometspy as c
After running the script
simulation = c.comets(layout, sim_params) gave me [ValueError: the initial pop of a model is outside of layout.grid. Either increase layout.grid or adjust COBRAModel's initial_pop]()
Any idea what might be the issue?
The text was updated successfully, but these errors were encountered:
Did you install comets? You can get it at runcomets.org.
If you did install comets, this error seems like you are assigning biomass to a nonexisting point in the grid. For example, if the grid was 1x1 points, you assigned biomass to point x=5 y=3 or so. Make sure that your point in a 1x1 grid is (0,0).
I ran into a few issues with example "Modelling the diurnal cycle"
I was not able to
import comets as c
, so I changed it toimport cometspy as c
After running the script
simulation = c.comets(layout, sim_params)
gave me[ValueError: the initial pop of a model is outside of layout.grid. Either increase layout.grid or adjust COBRAModel's initial_pop]()
Any idea what might be the issue?
The text was updated successfully, but these errors were encountered: