If a user accidentally enters a wrong path or image name then the pipeline throws the expected error. However, if the user corrects the problem and attempts to add the image again the pipeline will fail. This is because in the original add attempt the creation of the backup output files was never triggered.
If a user accidentally enters a wrong path or image name then the pipeline throws the expected error. However, if the user corrects the problem and attempts to add the image again the pipeline will fail. This is because in the original add attempt the creation of the backup output files was never triggered.
This is because the backups are only created from a successful run, but occurs after the config validation: https://github.com/askap-vast/vast-pipeline/blob/7bab8fd7d854560c4e9da7d36d4d07d6134ac164/vast_pipeline/management/commands/runpipeline.py#L243-L246