Skip to content

The master attribute in an OMEX archive is an optional hint yet OpenCOR requires it. #557

Description

@dbrnz

From the specification of an OMEX manifest:

The `master` is an optional attribute of type `boolean`. It represents a hint, 
that a certain file is to be used first when processing the content of an archive. 
Are top model description in a composed model, calling the various submodels; 
simulation description, calling the different model descriptions and 
data sources used in the experiment.

At most one content element per archive may have its master attribute set to `true`.

However while OpenCOR will open an OMEX archive with just a CellML file that has the master attribute set true, it complains if there is no master attribute and reports:

Image

Does OpenCOR expect a SED-ML file when the CellML isn't flagged as master? The above messages are recent, as earlier code simply crashed when there was no SED-ML. I would expect CellML to be used if there's no SED-ML, regardless of the master attribute, as it's meant to be an optional hint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions