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

add_annotation should only remove existing from targeted hemisphere #103

Open
mwaskom opened this issue Apr 9, 2014 · 0 comments
Open

Comments

@mwaskom
Copy link
Member

mwaskom commented Apr 9, 2014

If I do

b = Brain("fsaverage", "split", "inflated")
for hemi in ["lh", "rh"]:
    b.add_annotation("aparc", hemi=hemi)

It adds the left hemi annotation but then removes it when it adds the right hemisphere. This can be fixed with

b = Brain("fsaverage", "split", "inflated")
for hemi in ["lh", "rh"]:
    b.add_annotation("aparc", hemi=hemi, remove_existing=False)

But if feels like that should be hemisphere-specific?

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

No branches or pull requests

1 participant