checkJson

Help Info

Check to see if a json file has schema problems.

usage: checkJson [-h] [-s SCHEMANAME] jsons [jsons ...]

Positional Arguments

jsons

The name of the json files to validate.

Named Arguments

-s, --schema-name

The name of the schema, like prepareBed. If omitted, check all schemas.

Usage

A utility to check your json files for problems.

Useful before you submit a big job!

bpreveal.checkJson.getParser()

Create the argument parser.

Returns:

An ArgumentParser, ready to parse_args()

Return type:

ArgumentParser

bpreveal.checkJson.main()

Run the checks.

Returns:

An error code if there were any problems, otherwise EXIT_SUCCESS

Return type:

int