Skip to content

Commit

Permalink
catmaid_get_neuronnames returns names in order of passed skids
Browse files Browse the repository at this point in the history
* closes #6
  • Loading branch information
jefferis committed Apr 22, 2015
1 parent 7c2ad33 commit 6828fc4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/catmaid_metadata.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ catmaid_get_neuronnames<-function(skids, pid=1, ...) {
missing_names=setdiff(as.character(skids), names(res))
if(length(missing_names))
res[missing_names]=NA_character_
res
# ensure that return values are in order that was passed in
res[as.character(skids)]
}

#' Get list of annotations (including user information) from CATMAID
Expand Down

0 comments on commit 6828fc4

Please sign in to comment.