Skip to content

Commit

Permalink
neuprint_get_roiInfo allows duplicate input
Browse files Browse the repository at this point in the history
* don't know if anyone uses this, but it is embedded in test expectations
  • Loading branch information
jefferis committed Aug 9, 2023
1 parent 3cb236c commit 92002df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/name.R
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ neuprint_get_meta <- function(bodyids, dataset = NULL, all_segments = TRUE,
#' neuprint_get_roiInfo(c(818983130, 1796818119))
#' }
neuprint_get_roiInfo <- function(bodyids, dataset = NULL, all_segments = FALSE, chunk=TRUE,progress=FALSE,conn = NULL, ...){
bodyids=neuprint_ids(bodyids, dataset=dataset, conn=conn)
bodyids=neuprint_ids(bodyids, dataset=dataset, conn=conn, unique = F)
if(any(duplicated(bodyids))) {
ubodyids=unique(bodyids)
unames=neuprint_get_roiInfo(bodyids=ubodyids, dataset=dataset,
Expand Down

0 comments on commit 92002df

Please sign in to comment.