Validation

The starfish validate command provides a way to check that a fileset based on the SpaceTx Image Format Specification is valid.

Usage

starfish validate –help will provide instructions on how to use the tool:

         _              __ _     _
        | |            / _(_)   | |
     ___| |_ __ _ _ __| |_ _ ___| |__
    / __| __/ _` | '__|  _| / __| '_  `
    \__ \ || (_| | |  | | | \__ \ | | |
    |___/\__\__,_|_|  |_| |_|___/_| |_|

    
Usage: starfish validate [OPTIONS] COMMAND [ARGS]...

Options:
  --experiment-json JSON_FILE_OR_URL
  --fuzz
  --help                          Show this message and exit.

Commands:
  codebook    validate codebook against the jsonschemas
  experiment  validate experiment against the jsonschemas
  fov         validate field-of-view against the jsonschemas
  manifest    validate manifest against the jsonschemas
  xarray

Examples

starfish validate experiment tmp/experiment.json > /dev/null && echo ok

Validating the experiment, validates all of the included files. These files can also be individually validated:

$ starfish validate experiment tmp/codebook.json