-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't add my own model readMATmod #166
Comments
I also have the xml files available, if there is an easier way to upload those instead. |
hi @JessicaSingh1997 can you provide the file |
Hi Jo, |
Hi @jotech can I try adding SMBL models to BacArena? |
Of course, sbml is even the default way to import models into BacArena :) library(BacArena)
library(sybilSBML)
mod <- readSBMLmod("model.xml")
bac <- Bac(mod)
arena <- Arena(n=10,m=10)
arena <- addOrg(arena, bac, 5)
arena <- addDefaultMed(arena, bac)
sim <- simEnv(arena, time=3,sec_obj='mtf')
plotGrowthCurve(sim)
plotSubCurve(sim)[1] |
HI @jotech again, I tried getting the packages for making it work this way but it was a dead end. I went though the .mat you used in the example and my .mat files and there are no differences, except maybe a few fields but those are not important to the readMATmod function. I'm still getting object 'mod.gpr' not found as an error even through grRules is a cell in the .mat file. Can you help me out please, its urgent :( |
Error in readMATmod("testLBba.mat") : object 'mod.gpr' not found
I'm trying to upload my own models, and grRules is very well present in my .mat file but I can't figure out why this error is showing up :/
The text was updated successfully, but these errors were encountered: