Open yannikschaelte opened 3 years ago
So you don't want to provide your own PetabProblem
? Otherwise petab.lint.lint_problem
would do the job.
Yes, don't want to create the problem manually, i.e. instead of
petab.lint.lint_problem(petab.PetabProblem.from_yaml('yaml_file.yaml'))
petab.lint.lint_yaml('yaml_file.yaml')
or sth like that. If I see correctly, the CLI additionally also validates the YAML first.
Super low prio though ;)
A 1-line python API to the linter would be nice, basically calling petablint::main with arguments.