The script gives two choices to the user; to Export Individual Channels OR to Export Meged Image. The user might fail to select either of the options.
This PR fixed the output message to alert the user that they need to chose either of the option.
Without PR
Script fails to exit correctly with TypeError.
Traceback (most recent call last):
File "./script", line 625, in <module>
run_script()
File "./script", line 609, in run_script
file_annotation, message = batch_image_export(conn, script_params)
TypeError: 'NoneType' object is not iterable
With PR
The output message displays "Not chosen to save Individual Channels OR Merged Image" and exits correctly.
The script gives two choices to the user; to Export Individual Channels OR to Export Meged Image. The user might fail to select either of the options.
This PR fixed the output message to alert the user that they need to chose either of the option.
Without PR
Script fails to exit correctly with
TypeError
.With PR
The output message displays "Not chosen to save Individual Channels OR Merged Image" and exits correctly.