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:
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.
From the specification of an OMEX manifest:
However while OpenCOR will open an OMEX archive with just a CellML file that has the
masterattribute settrue, it complains if there is nomasterattribute and reports: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
masterattribute, as it's meant to be an optional hint.