Skip to content

Commit

Permalink
Merge branch 'master' of github.com:natverse/neuprintr
Browse files Browse the repository at this point in the history
* 'master' of github.com:natverse/neuprintr:
  synonyms -> notes
  • Loading branch information
jefferis committed Jul 16, 2020
2 parents 12b6522 + f67a589 commit 7403d3c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions R/name.R
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ neuprint_get_meta <- function(bodyids, dataset = NULL, all_segments = TRUE, conn
all_segments = ifelse(all_segments,"Segment","Neuron")

fieldNames <- neuprint_get_fields(possibleFields = c("bodyId","name","instance","type","status","statusLabel","pre","post","upstream","downstream","cropped",
"size","cellBodyFiber","synonyms"),
"size","cellBodyFiber","notes"),
dataset=dataset,conn=conn,...)
returnCypher <- paste0("n.",fieldNames," AS ",dfFields(fieldNames),collapse=" , ")
cypher = sprintf(
Expand Down Expand Up @@ -389,7 +389,7 @@ neuprint_get_fields <- function(possibleFields = c("bodyId", "pre", "post",
"status", "statusLabel",
"cropped", "instance", "name",
"size", "type", "cellBodyFiber",
"somaLocation", "somaRadius","synonyms"),
"somaLocation", "somaRadius","notes"),
negateFields=FALSE,
dataset = NULL, conn = NULL, ...){

Expand Down Expand Up @@ -419,7 +419,7 @@ dfFields <- function(field_name) {
"cellBodyFiber",
"somaLocation",
"somaRadius",
"synonyms"
"notes"
),
rName = c(
"bodyid",
Expand All @@ -437,7 +437,7 @@ dfFields <- function(field_name) {
"cellBodyFiber",
"somaLocation",
"somaRadius",
"synonyms"
"notes"
),
stringsAsFactors = FALSE
)
Expand Down
2 changes: 1 addition & 1 deletion man/neuprint_get_fields.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/testthat/test-name.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test_that("test name searches ", {
expect_named(mt,
c(dfFields(neuprint_get_fields(possibleFields = c("bodyId","name","instance","type","status","statusLabel",
"pre","post","upstream","downstream","cropped",
"size","cellBodyFiber","synonyms"))),"soma")
"size","cellBodyFiber","notes"))),"soma")
)


Expand Down

0 comments on commit 7403d3c

Please sign in to comment.