lint_control_file
Validate a BPP control file against its data after every edit. Fix errors and re-lint until the server reports valid.
Instructions
Validate a control file (bpp-lint --json --check-priors) and check it against its data.
Call after make_control_file and after every change. Loop until
server.status is "valid": fix each error (with set_keyword, or by
remaking the file with make_control_file and the corrected arguments),
then lint again.
Read in the result:
server.status: "valid" only if bpp-lint reports no errors AND the temporaryserver.data_checksfound none. Use this, not report.status.report.diagnostics[]: each hascode,severity,message,suggestion,suggested_fix. Use explain_diagnostic(code) to explain one to the user.report.prior_check: priors compared with estimates from the data.server.data_checks.issues[](temporary, until bpp-lint checks these itself): missing data files, nloci larger than the data, sequence tags with no Imap line, Imap species that differ from the tree, phase digit count, speciesdelimitation with the wrong number of arguments. A valid lint does not prove BPP will run: smoke_test next.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctl | Yes |