Checks the validity of a directory with respect to the ANimal Data Organization (AnDO) specifications
- Clone this repo to your local machine using
https://github.com/INT-NIT/AnDOChecker.git
usage: AnDOChecker.py [-h] [-v] path
positional arguments:
path Path to your folder
optional arguments:
-h, --help show this help message and exit
-v, --verbose increase output verbosity
$Python3 checker/AnDOChecker.py tests/ds001/data/Enya
OR verbose usage
$Python3 checker/AnDOChecker.py -v tests/ds001/data/Enya
$cd checker/
$python3.5 -m unittest discover -v
In checker folder :
- file AnDOChecker.py is the main file
- file AnDO_Error.py is the custom error exception file
- file AnDO_Engine.py is the file that verify with the rules
In the rules folder :
- session_rules.json regex for session rules
- subject_rules.json regex for subject rules
- source_rules.json regex for source rules