Closed jefferis closed 2 years ago
This change in #467 introduced a subtle bug:
https://github.com/natverse/nat/blob/49d578d65c5290ad7b2e31c9bb5984c7c2126991/R/neuronlist.R#L301
If the first column of the incoming dataframe is numeric then intersect(nn, value[,1]) will be numeric as well, which will cause indexing to fail.
intersect(nn, value[,1])
This change in #467 introduced a subtle bug:
https://github.com/natverse/nat/blob/49d578d65c5290ad7b2e31c9bb5984c7c2126991/R/neuronlist.R#L301
If the first column of the incoming dataframe is numeric then
intersect(nn, value[,1])
will be numeric as well, which will cause indexing to fail.