From 222791704974f7b3465cb10892bb2a890a89a4bc Mon Sep 17 00:00:00 2001 From: Fiona Love Date: Thu, 27 Sep 2018 15:57:29 +0100 Subject: [PATCH 1/2] Pulling connectors based on correct subset of treenodes --- R/utils.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/utils.R b/R/utils.R index 82a6cfe..5e9320b 100644 --- a/R/utils.R +++ b/R/utils.R @@ -55,7 +55,7 @@ split_neuron_local <- function(skid = NULL, neuron = NULL, node, return = c("dow new$NeuronName = paste0("SKID ", skid, " ", return, " of node ", node) old_connectors = catmaid::connectors(neuron) new$connectors = old_connectors[old_connectors$treenode_id %in% - neuron$d[neuron.distal, "PointNo"], ] + new$d$PointNo, ] new$tags = lapply(neuron$tags, function(tag){ nodes = unlist(sapply(tag, function(node){ if(node %in% new$d$PointNo){ node } From c8080e508118fc534bd19f2595de608ff2c0d450 Mon Sep 17 00:00:00 2001 From: Fiona Love Date: Thu, 27 Sep 2018 16:42:41 +0100 Subject: [PATCH 2/2] Patch version increment --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 21112e5..31c5e56 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: tracerutils Type: Package Title: Utilities for EM Neuron Tracers -Version: 0.6.0 +Version: 0.6.1 Authors@R: person("Fiona", "Love", email = "fl299@cam.ac.uk", role = c("aut", "cre")) Description: Helpful functions for handling neurons traced from EM volumes. Interacts with CATMAID and NBLAST.