module
lbsJSONDataFilesMakerUtility to generate a data set supporting shared blocks by using a specification file.
To call this script either call script with - `lbaf-vt-data-files-maker` if lbaf package is installed or - `python src/lbaf/Utils/lbsJSONDataFilesMaker.py`
Script usage examples:
- Generate dataset from specification file
``` lbaf-vt-data-files-maker --spec-file=/home/john/data-maker/dataset1-spec.yaml --data-stem=/home/john/data-maker/dataset1 ```
- Generate dataset from specification file and Python configuration file configured to use the generated data stem
``` lbaf-vt-data-files-maker --spec-file=/home/john/data-maker/dataset1-spec.yaml --data-stem=/home/john/data-maker/dataset1 --config-file=/home/john/data-maker/dataset1-config.yaml ```
- Generate dataset from specification defined interactively in CLI `lbaf-vt-data-files-maker --interactive`
Classes
- class JSONDataFilesMaker
- Provides generation tools for VT Data using phase specification input. It internally use - the `populate_from_specification` method from the Phase class for building the phase instance - the VTDataWriter to write data files
- class Util
- Utility class with common useful static methods for the maker
- class YamlSpecificationDumper
- Custom dumper to add indent before list items hyphens.
Data
- PROJECT_PATH = '/home/runner/work/LB-analysis-framework/LB-analysis-framework'