Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small fix to avoid returning results from ROIs that start with the same letters #14

Merged
merged 1 commit into from
Jan 15, 2020

Conversation

romainFr
Copy link
Collaborator

This was breaking neuprint_find_neurons for some ROIs.

@@ -218,7 +218,7 @@ extract_connectivity_df <- function(rois, json){
for(roi in rois){
d <- data.frame(0,0)
colnames(d) <- paste0(roi,c(".pre",".post"))
b <- a[startsWith(names(a),roi)]
b <- a[startsWith(names(a),paste0(roi,"."))]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

took me a moment to parse this, but assume it works fine!

@jefferis jefferis merged commit af5c71b into natverse:master Jan 15, 2020
@jefferis
Copy link
Contributor

Thanks @romainFr!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants