Skip to content

Should we run some basic checks after parsing a model? #242

@MichaelClerx

Description

@MichaelClerx

At the moment we have some methods to check the model makes sense:

  • Model.check_left_right_units_equal

and

  • testparser.py::check_rdf_identities(model)
  • testparser.py::check_dummy_assignment(model)

(I moved these last two into testing at one stage, as that was the only place they were used)

Should these be standard checks that occur after parsing a model? And maybe all hidden but called by some validate() method?

  • Add a (validation) check that a model has only one free variable

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