Skip to content

Commands

PROJECT is the project folder or the settings file in it. Without this argument, check and run use settings.yml in the working folder.

Command Description
layerbn init FOLDER Create a project with the example study. --blank: empty tables. --notebook: add a notebook. --force: overwrite existing files.
layerbn check [PROJECT] Check the settings, the variables table and the data without fitting a model. --figure: draw the layers. --data FILE: use another data file.
layerbn run [PROJECT] Run all analyses and write the results folder.
layerbn migrate SPEC Convert a version 2 spec.yml to settings.yml and variables.xlsx in a new folder migrated (or --out FOLDER).

Options of run:

Option Meaning
--fast Use fewer bootstrap resamples (default 20, set with --fast-resamples N) for a trial run. The report is labelled as a trial run.
--data FILE Data file, instead of data: file:.
--output FOLDER Results folder, instead of output_dir:.
--network NAME Run only this network. Can be given more than once.
--no-pdf Write PNG figures only.

layerbn --traceback ... shows the full Python error instead of a short message. Include this output in bug reports.