SysBioChalmers / RAVEN

The RAVEN Toolbox for genome scale model reconstruction, curation and analysis.
http://sysbiochalmers.github.io/RAVEN/
Other
98 stars 52 forks source link

Unrecognized field name "compNames" with ravenCobraWrapper error #523

Closed edkerk closed 4 months ago

edkerk commented 4 months ago

Discussed in https://github.com/SysBioChalmers/RAVEN/discussions/521

Originally posted by **PkiwiBird** February 12, 2024 Hi, when trying to convert a raven model to a cobra model with ravenCobraWrapper, I get the following error: ``` Converting COBRA structure to RAVEN.. Unrecognized field name "compNames". Error in ravenCobraWrapper (line 216) newModel.mets=regexprep(newModel.mets,['\[', model.compNames{i}, '\]$'],''); ``` Do you have any idea on how to solve this?