popy_check¶
When developing a PoPy script file it is sometimes useful to sanity check the input and automatically detect common errors.
Note this checking process also happens when using popy_run, however the popy_check enables you to check before you are ready to run a script.
Check a script by opening a Open a PoPy Command Prompt and typing:-
$ popy_check my_script.pyml
this will output the results of the check to the terminal and also to a log file called:-
my_script.pyml.check.log
Hopefully the various error and warning messages will enable you to more easily edit and fix a broken script file.
Command line options¶
usage: popy_check [-h] [-o] input_file
Checks PoPy script for consistency and returns errors + warnings. Can use
optionally prior to running script.
positional arguments:
input_file Required path to input configuration file.
optional arguments:
-h, --help show this help message and exit
-o, --overwrite Optionally overwrite existing output files without asking.