From d20f84397bb97c595bf8666eaea232c1613cbfcb Mon Sep 17 00:00:00 2001 From: alexanderbates Date: Tue, 6 Aug 2024 14:56:26 -0400 Subject: [PATCH] Update hemibrain_split.R --- R/hemibrain_split.R | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 }