COPY Module

The COPY module allows copying the contents from one folder to another. For example, this module could be used to save automatic segmentations obtained for new cases using a deployed model.

The COPY module can be used with the following options:

  • verbose: Enable or disable verbose mode.

  • timer: Enable or disable the timer to record execution time.

  • log: Specify the path to a file for saving logs.

  • inputFolder: Specify the path to the input folder.

  • targetFolder: Specify the path to the output folder.

This module utilizes the targetFolder option instead of outputFolder to enable the PREVIOUS_BLOCK_OUTPUT_FOLDER option, disregarding the outputFolder used in the COPY module.

Here is an example of how to use the COPY module:

COPY
{
    inputFolder: /path/to/folder
    targetFolder: /path/to/target/folder
}
copy_folder_contents.main(argv)[source]