dendrograms / astrodendro

Generate a dendrogram from a dataset
https://dendrograms.readthedocs.io/
Other
37 stars 36 forks source link

Issue with structure.get_mask and subtree=False #161

Open astrofrog opened 6 years ago

astrofrog commented 6 years ago

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()