Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Prepare Steps

The Prepare steps of the Add data step of the Set up page run the prepare steps in labcatalog.yaml, the scripts that turn raw exports and pipeline outputs into the data the catalog reads. See Register Prepare Steps for how to write them. Steps are written, changed and removed, and their scripts edited, on the Scripts page.

The prepare steps of the Add data step

The steps

Each step shows its name, its status, its command, and its inputs and outputs with their dates. Click a file to open it. Script opens the code of the script the step runs under the step, to read or change and Save; Open on the Scripts page shows it on the Scripts page with the other steps that run it. The status is one of:

StatusMeaning
up to dateEvery output is newer than every input.
outdatedAn input is newer than an output.
missing outputAn output does not exist yet.
missing inputAn input does not exist or has not been downloaded.

A file in a DataLad dataset whose content is not on this computer is marked “not downloaded” and has a Get button.

Running

A step that fails stops the rest. After a step has run, its status line shows the outcome and Log shows what it printed; the log follows the running step live and has a Copy log button. When a step succeeds, the catalog reloads.

Steps run in the project folder. If Rscript is set on the Settings page, its folder is put first on the PATH, so a step can call Rscript by name. So is the Python set there, so a step that calls python gets it; in the Windows program, with no Python set, python runs the program’s own. With prepare_with: datalad, each step runs through datalad run.