biocore / evident

BSD 3-Clause "New" or "Revised" License
14 stars 9 forks source link

ValueError #25

Open YilingWang1997 opened 2 years ago

YilingWang1997 commented 2 years ago
WechatIMG83

When I ran multivariate-effect-size-by-category command with the parameter "--p-max-levels-per-category 10" , I found a ValueError (see attached figure). And the program ran fine when I removed this setting.

gibsramen commented 2 years ago

Hi @YilingWang1997

Thanks for bringing this up. Seems like buffer source array is read-only is some sort of error with joblib. It's somewhat strange that removing the max-levels-per-category line made this work. Can you paste the QIIME 2 commands you used to run Evident each time?

https://github.com/dask/distributed/issues/1978

YilingWang1997 commented 1 year ago

I'm sorry I forgot to reply and it was the parameter "--p-n-jobs" that caused the above error (I listed the wrong parameter in the original comment).

My commands: Successed: qiime evident multivariate-effect-size-by-category --i-data bc.qza --m-sample-metadata-file env.meta.tsv --p-group-columns continent biome lat lon --p-max-levels-per-category 10 --p-min-count-per-level 180 --o-effect-size-results bc_effectsize_180.qza Failed: qiime evident multivariate-effect-size-by-category --i-data bc.qza --m-sample-metadata-file env.meta.tsv --p-group-columns continent biome lat lon --p-max-levels-per-category 10 --p-min-count-per-level 180 --p-n-jobs 10 --o-effect-size-results bc_effectsize_180.qza