DatabankLib.bin.add_simulation module

Add new simulation into the NMRlipids Databank.

The script adds a simulation into the Databank based on info.yaml file.

Usage:

nml_add_simulation [-h] [-f FILE] [-d] [-n] [-w WORK_DIR] [–dry-run]

-h, --help

Show this help message and exit

-f FILE, --file=FILE

Input config file in yaml format.

-d, --debug

Enable debug logging output

-n, --no-cache

Always redownload repository files

-w WORK_DIR, --work-dir=WORK_DIR

Set custom temporary working directory [not set = read from YAML]

Returns error codes:

  • 0 - success

  • 1 - input YAML parsing errors

  • 2 - filesystem writting errors

  • 3 - network accessing errors

DatabankLib.bin.add_simulation.add_simulation()[source]