Skip to content

Unrecognized field name "compNames" with ravenCobraWrapper error #521

Answered by edkerk
PkiwiBird asked this question in Help me!
Discussion options

You must be logged in to vote

First, in your original post you mention

convert a RAVEN model to a COBRA model

but the model is already in COBRA format.

But if you meant to write "COBRA to RAVEN model", then:

  1. Do not define the comps and compNames fields as done above, you'd want ravenCobraWrapper to define them and appropriately refer to them in metComps.
  2. After ravenCobraWrapper is finished, manually corrected the entries in liver_ml.compNames, as they will by default be the same abbreviations as in .comps.
  3. To deal with the above and the odd mixture of nested cell arrays that are used for the subSystems field, I've made some changes to ravenCobraWrapper and readYAMLmodel.

So first get these two functions from PR #522

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@PkiwiBird
Comment options

@edkerk
Comment options

Answer selected by edkerk
@edkerk
Comment options

@PkiwiBird
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants