duderstadt-lab / mars-tutorials

3 stars 2 forks source link

dynamic smFRET workflow: provide custom error message when there are no Accepted AO or DO #3

Open karlduderstadt opened 10 months ago

karlduderstadt commented 10 months ago

A NullPointerException occurs when no AO or DO molecules are marked as Accepted. This is because it is not possible to calculate all parameters without these molecules. Some correction factors depend on them. We should add a custom error message that reports this problems clearly and aborts the script in this case.

This issue was reported first here: https://forum.image.sc/t/alex-correction-on-windows-11/88003