tumourkit.utils.pipes.check_training
- tumourkit.utils.pipes.check_training(args: Namespace, logger: Logger) None
Checks if the training pipeline was run correctly.
This function checks if the necessary folders and files from the training pipeline exist. It verifies the presence of specific folders and files in the expected locations. If any required folder or file is missing, or if there are inconsistencies in the training results, an exception is raised.
- Parameters:
args (Namespace) – The command-line arguments.
logger (Logger) – The logger object for logging messages.
- Raises:
WrongConfigurationError – If any required folder or file is missing, or if there are inconsistencies in the training results.