-
Notifications
You must be signed in to change notification settings - Fork 7
Yokogawa Parsing chunk size mismatch #105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
A quick check shows that some image in the metadata has a rounding error as in #91. This script import numpy as np
import pandas as pd
# NOTE: probably this also requires "pip install lxml"
fname = "/data/active/fractal/Liberali/1_well_15_fields_20_planes_SF_w_errors/D10_R1/220304_172545_220304_175557/MeasurementData.mlf"
mlf = pd.read_xml(fname)
X = np.array(sorted(mlf["X"].unique()))
print("X sizes:")
print(X[1:] - X[:-1]) prints
I did not check too carefully inside the mlf file, but that would be my first guess for where this issue comes from. |
This is a good question, since in that case the file
|
Here is my test on the same (search-first) dataset. TL;DR
First, the metadata parsing says that
and indeed I can see some stderr messages like
(both the stdout and stderr are currently in the server folder, under I did see two errors, but they seem unrelated to the current issue (one is Still, I weirdly didn't see the
but the
|
I stand corrected, 0.1.7 removed the |
Yup, tested it in 0.1.7 now and it also runs through for me now! 🎉 This is also the pattern we were expecting, see: #8 Once I run a few extra tests (do Illumination correction, MIP, segmentation & measurements still work as expected on search-first data), we can also close that issue & will have a search-first implementation! |
I've been trying to run the
/data/active/fractal/Liberali/1_well_15_fields_20_planes_SF_w_errors/D10_R1/220304_172545_220304_175557
search first example and ran into the following error:It looks like there is a shape mismatch here. I first thought this was related to #91, but looking closer at the error message, I'm not sure. Which one describes regions ROI parsed from the metadata which may get rounded wrong?
Also, if it was an issue with the single pixel error due to rounding of the metadata, shouldn't we have also hit it with the 10 well example?
A quick check of the raw files doesn't show issues there either though.
I'll need to dig a bit deeper. I'll have a look at whether any ROI tables have already been written.
This is run on
fractal-server==0.1.4
,fractal-client==0.2.1
,fractal-tasks-core==0.1.6
The text was updated successfully, but these errors were encountered: