natverse / neuprintr

R client utilities for interacting with the neuPrint connectome analysis service
http://natverse.org/neuprintr
3 stars 3 forks source link

Error in neuprint_ROI_mesh #143

Closed IsabelDAlessandro closed 3 years ago

IsabelDAlessandro commented 3 years ago

I'm encountering an error when using the neuprint_ROI_mesh function.

Calling neuprint_ROI_mesh(roi = "EB") gives the error Error in sapply(x$shapes, function(y) unique(y$material_ids)) + 1L : non-numeric argument to binary operator

jefferis commented 3 years ago

Dear Isabel, there was a bug in readobj v0.4.0. Please upgrade to 0.4.1. 0.4.1 may already have been on CRAN when you last upgraded but it takes a few days for binary packages for Mac and windows to appear so you might need to install with type='source' (you will need a C compiler for this). Best wishes, Greg.

IsabelDAlessandro commented 3 years ago

That solved it. Thank you!