-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
open_datatree(group='some_subgroup') returning parent nodes #9665
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
Comments
Yes, good catch, we should fix that. I think the returned result has to be
because you can't have a group name containing slashes. The simplest way to to fix this would be to prune the The proper way to fix it would be to fix the behaviour of FYI the conclusion of the discussion today was that any coordinates defined above Are you up for taking this one on @eni-awowale ? |
Thanks, @eni-awowale, for bringing this up. I am working on it, and I think it will be resolved soon. |
I think what we talked about yesterday was to make |
Yep that's what I was trying to say above.
Oh yes, good point.
Do you want to post up your PR @aladinor (even if it doesn't work yet)? Then we can help get it in asap. |
Sure! I will do it ASAP. |
What is your issue?
@aladinor Noticed this during a demo a few meetings back but I don't think we followed up on this.
If you have a
DataTree
of this shape.And you specify a path with
group=
you still get a nested tree but with empty groups for the groups that were not specified.I thought the expected result would be to only return the group specified with all of it's child nodes (if it has any), something like:
CCing the usual squad @shoyer, @keewis, @TomNicholas, @owenlittlejohns, and @flamingbear
The text was updated successfully, but these errors were encountered: