Skip to content

templates

The creators and the terms of use of a model.

A model sets them in its sbmlutils.factory.Model: the creators as creators, the terms of use appended to its notes, behind the description of the model. The terms are indented by four spaces, and so has to be the description: sbmlutils removes the indentation all lines of the notes have in common before it converts the markdown, and lines which keep four spaces are a code block. A model with further creators extends the list, e.g. creators=[*creators, Creator(...)].

creators module-attribute

creators = [
    Creator(
        familyName="König",
        givenName="Matthias",
        email="koenigmx@hu-berlin.de",
        organization="Humboldt-University Berlin, Institute for Theoretical Biology",
        site="https://livermetabolism.com",
    )
]

The creators of the models, the first one is named in the terms of use.

terms_of_use module-attribute

terms_of_use = _TERMS_OF_USE.format(
    year=datetime.now().year,
    given_name=creators[0].givenName,
    family_name=creators[0].familyName,
    site=creators[0].site,
)

The terms of use of a model in markdown, with the copyright of the current year.

The model is licensed under CC BY-SA 4.0, whose text the COMBINE archive of the model carries, see pkpdsim.licenses.License.CC_BY_SA_4_0.