Closed will-moore closed 3 years ago
I drew a line on https://outreach.openmicroscopy.org/webclient/?show=image-9539 (trainer-1) but I did not get an error when running the script
@jburel I realise that the error I got from image: https://outreach.openmicroscopy.org/webclient/?show=image-11110 was actually due to the PolyLine, since we try to calculate the Plot Profile for each section in a PolyLine, and there are horizontal lines within that PolyLine. So, you will see the error with this image.
When you try to draw a "horizontal" line in iviewer, it's almost impossible since it doesn't snap to integer pixel values. The Y coordinates of the lines you drew are shown in the iviewer as "72.0" but are actually saved as:
"Y1": 71.95605468749991,
"Y2": 72.03339843749991
I used a script to add horizontal line to that image https://outreach.openmicroscopy.org/webclient/?show=image-9539 so that you will see the error with that image now.
I managed to reproduce the error against outreach now
Tests added in https://github.com/ome/openmicroscopy/pull/6264
This fixes an error I saw on outreach server during today's training (see below).
To test:
Should run without an error and generate a csv file.