Menu

#474 Implement comp flattening of distrib models

libSBML-5.18.0
open
nobody
None
2020-03-27
2020-03-27
No

Hi all,
I have some comp models which contain distrib information. Such models cannot be flattened at the moment (and therefore not be simulated).
Most models only contain uncertainties which would not affect simulators, but I still cannot simulate such models because I cannot flatten them.

I am getting the following error:

CompFlatteningConverter has encountered a required package for which the necessary routines to allow flattening have not yet been implemented.
 The CompFlatteningConverter has the 'abortIfUnflattenable' option set to 'requiredOnly'  and thus flattening will not be attempted.

It would be great if distib models could be flattened.
Best Matthias

Discussion

  • Lucian Smith

    Lucian Smith - 2020-03-27

    We defintely are putting this on the to-do list, but in the meantime, there's already an option in the flattening converter to strip out unknown packages. The option is called "stripUnflattenablePackages", and can be set to 'true'.

     
  • Matthias König

    Matthias König - 2020-03-27

    Thanks. This solves the issue for models which only contain uncertainty information without distributions.

     

Log in to post a comment.