Skip to content

Commit

Permalink
Merge pull request #35 from fmlove/hotfix/34
Browse files Browse the repository at this point in the history
Fixes #34
  • Loading branch information
fmlove committed Sep 27, 2018
2 parents 776a5a6 + c8080e5 commit cbb956e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit cbb956e

Please sign in to comment.