Manage and sequentially execute the Generate, Analyze, and Summarize commands to perform a complete data processing pipeline.
Use the help option to see all available options:
python3 cha.py aggregate --helpSpecify the path to your configuration file. The default is config.json.
Note: Configuration file is a JSON file.
# Use a specific configuration file
python3 cha.py aggregate --config-file "path/to/config_file"Set the custom section in the configuration file. The default section is DEFAULT.
# Use a custom section in the configuration file
python3 cha.py aggregate --section-in-config "customSection"Specify the path to the destination directory. If the directory does not exist, it will be created. If the directory is not empty, the existing files will be removed, and overwritten with the new results. The default is out.
# Set the destination directory
python3 cha.py aggregate --dest-dir "outputDir"Run analyze steps simultaneously. This is not recommended with perf. By default, this option is off.
# Enable asynchronous analysis
python3 cha.py aggregate --async-analyzeControl the verbosity of log messages by setting the log level. The default level is WARNING. Choose from the following options:
DEBUG: Shows detailed information, typically useful for diagnosing problems. Use this level for development and debugging purposesINFO: Provides confirmation that things are working as expected. This level is generally used to inform users about the progress and state of the applicationWARNING: Indicates that something unexpected happened, or a potential problem is detected, but the application is still running as expected. This level helps to highlight issues that might need attention in the futureERROR: Signifies that a serious problem has occurred, and the application has not been able to perform some function. This level is used to indicate errors that prevent the program from continuing some operationCRITICAL: Represents a very serious error, indicating that the program itself may be unable to continue running. This level is used for critical issues that require immediate attention
Pass the desired log level using the --log-level option. For example, to set the log level to INFO:
python3 cha.py aggregate --log-level INFO