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

Issue with structure.get_mask and subtree=False #161

Open
astrofrog opened this issue May 10, 2018 · 0 comments
Open

Issue with structure.get_mask and subtree=False #161

astrofrog opened this issue May 10, 2018 · 0 comments
Labels

Comments

@astrofrog
Copy link
Contributor

Reported by email:

I have noticed an error on your GitHub repository, specifically structure.get_mask() fails when subtree=False, because of the following line:

indices = self.indices(subtree=True) if subtree else self.indices

which, I think, should read...

indices = self.indices(subtree=True) if subtree else self.indices()
tonywong94 added a commit to tonywong94/astrodendro that referenced this issue Feb 16, 2021
@astrofrog astrofrog added the bug label Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant