natverse / elmr

Support for working with light and electron microscopy fly brain data
https://natverse.github.io/elmr
GNU General Public License v3.0
7 stars 3 forks source link

problem with unspike when only one tag #53

Closed jefferis closed 3 years ago

jefferis commented 3 years ago

reported by @YijieYin

library(natverse)
library(neuprintr)
# Some lateral horn neurons 
lhns = c("359214479", "359891881", "511616870")
lhns.neurons<-neuprint_read_neurons(lhns) 
lhns.neurons<-unspike(lhns.neurons,threshold = 1000)
#> Error in nabor::knn(data = nat::xyzmatrix(new), query = nat::xyzmatrix(old)[match(old_tag_ids, : Query has less dimensions (1) than requested for cloud (3)

actually a problem in catmaid::copy_tags_connectors