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?
Discussed in https://github.com/SysBioChalmers/RAVEN/discussions/521