Skip to content

Commit

Permalink
fix side should be last part of instance
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferis committed Apr 24, 2024
1 parent 53575ed commit 9566c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/meta.R
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ opticlobe_meta <- function(ids, ...) {
tres=malevnc::manc_neuprint_meta(ids, conn = npconn('opticlobe'), ...)
tres <- tres %>%
rename(id=bodyid) %>%
mutate(side=stringr::str_match(tres$name, "_([LR])")[,2])
mutate(side=stringr::str_match(tres$name, "_([LR])$")[,2])
tres
}

Expand Down

0 comments on commit 9566c3b

Please sign in to comment.