Closed wiegraebe closed 3 years ago
@wiegraebe I'm not 100% clear on how the position picker works. E.g. you say to call the position picker but I'm not quite sure how. It may be easier to chat about this so I can get a clearer picture tomorrow.
It's impossible to call the position picker when there is an empty segmentation_info_dict
because the image_data
comes from that dictionary.
With that said, I will make it so if no positions are picked the software doesn't crash.
[x] I have checked that this issue has not already been reported.
[x] I have confirmed this bug exists on the latest version of microscope_automation.
Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Description
If segmentation in microscope_automation.segment_wells returns empty segmentation_info_dict, user does not have option to add positions manually and software crashes when calling
Expected Behavior
Display position picker even if no positions were found and allow user to add positions at
Even if no positions are picked, software should not crash.
Reproduction
A minimal example that exhibits the behavior.
Environment
Any additional information about your environment