Skip to content

Commit

Permalink
Fix new bug in neuprint_find_neurons
Browse files Browse the repository at this point in the history
* introduced by #29
  • Loading branch information
jefferis committed Jan 25, 2020
1 parent 499cb5c commit bd6cd1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/roi.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ neuprint_find_neurons <- function(input_ROIs,
all_segments = FALSE,
...){
all_segments = ifelse(all_segments,"true","false")
conn=neuprint_login(conn = conn)
dataset=check_dataset(dataset)
roicheck = neuprint_check_roi(rois=unique(c(input_ROIs,output_ROIs)), dataset = dataset, conn = conn, ...)
Payload = noquote(sprintf('{"dataset":"%s","input_ROIs":%s,"output_ROIs":%s,"enable_contains":true,"all_segments":%s}',
dataset, jsonlite::toJSON(input_ROIs),
Expand Down

0 comments on commit bd6cd1b

Please sign in to comment.