Closed jwindhager closed 1 year ago
Ah, makes sense, sorry for that! Will fix it asap.
Hi @jwindhager
do you have any updates on this? Thanks for your help!
Sorry, am a bit swamped right now. Will get back to this end of this week.
Hi @jwindhager and @nilseling , I was wondering if you have managed to have a look at this error as i am getting exactly the same issue when trying to process new mcd files i obtained.
On it! Apologies for the delay, will get back to you asap.
Thank you so much for the quick response!
Closing this PR. Will continue to work on a fix for this on the nan-fix
branch and open a new PR once ready.
So the PR does not seem to fix it. I tested non-fix
with test data provided by @nilseling. I get the same error as reported above:
@jwindhager, in nan-fix
the line if not np.isnan(channel_label) and not channel_label:
in src/imcsegpipe/_imcsegpipe.py
produces the error
TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
For now I am swapping np.isnan
with pd.isnull
. Not sure yet whether it is due to to package versions in my environment.
The input panel file contains the following line:
And the acquisition channel files contain the line:
This difference is causing the error. When the entry in the study panel is changed to address this,
nan-fix
preprocesses the test dataset without any error.
Is this pipeline now ready to be used?
Best Jayden
Hi @jwindhager
thanks for working on this! With the current fix the conversion MCD to OME-TIFF works but in the "Generate image stacks for downstream analyses" chunk I get the following error: