diff --git a/R/hemibrain_split.R b/R/hemibrain_split.R index 4dbdc7f..1806756 100644 --- a/R/hemibrain_split.R +++ b/R/hemibrain_split.R @@ -437,8 +437,9 @@ flow_centrality.neuron <- function(x, } x$AD.segregation.index = segregation.index x$max.flow.centrality = as.numeric(ais) - x$split = x$tags$split = TRUE - x = hemibrain_neuron_class(x) + x$split <- x$tags$split = TRUE + x <- hemibrain_neuron_class + class(x) <- c("splitneuron",class(x)) x }