-
Notifications
You must be signed in to change notification settings - Fork 51
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
bug: makeEcModel if cytosol is not 'c' #231
Comments
Sorry I am a bit confused here. In the reported case, what are there in |
GECKO/src/geckomat/change_model/makeEcModel.m Line 321 in 6c0dae9
|
I see. Then what is the following line used for?
What I do in my case is to find the compartment ID of cytosol in Is |
It's a remnant of GECKO1&2's parameters function, it hadn't been used in the GECKCO3 code yet. But well spotted, I'll just refactor And it is needed to specify a compartment when adding the proteins and protein pool pseudometabolites. It would work perfectly fine it these would be added to any random compartment, but it would look odd, so best to ensure it is in cytosol. |
Fixed in 3f9d897 |
As reported by @ckitti, if the model does not use 'c' to indicate cytosol,
makeEcModel
fails when adding e.g. protein_pool pseudometabolite. Compartment code should be a parameter inModelAdapter
.The text was updated successfully, but these errors were encountered: