httomo.yaml_checker#
Classes
|
Class for storing the ANSI escape codes for different colours. |
|
Check for duplicate keys in yaml |
Functions
Check that the first method in pipeline is a loader. |
|
|
Check that the hdf5 paths given as parameters to the loader indeed exist in the given data file. |
|
Check method with an id has side outputs |
|
There should be three main keys in each method |
Check if the methods in the pipeline YAML file are valid methods, by checking if they exist in the template YAML files. |
|
there should be no duplicate keys in yaml file :param f: yaml file to check |
|
check that there shouldn't be image saver present after the sweep method |
|
there should be no REQUIRED parameters in the config pipeline |
|
Check if the parameter name of config methods exists in yaml template method parameters |
|
Parameter names should be type string |
|
|
Check reference str is matching a valid method id |
Check reference name exists |
|
|
Check if the yaml file is properly indented, has valid mapping and tags. |
|
Check that the modules, methods, and parameters in the YAML_CONFIG file are valid, and adhere to the same structure as in each corresponding module in httomo.yaml_templates. |
Module for checking the validity of yaml files.