-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fix template + update_attr bug #405
Conversation
@@ -133,20 +133,23 @@ def update_attr( | |||
others = others or [] | |||
# .strip(' .') removes trailing and leading whitespaces and dots | |||
if attr in ds.attrs: | |||
others = { | |||
|
|||
others_attrs = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woups, c'était ben niaiseux mon truc. haha
Le code n'a été testé qu'avec des dataset d'une seule variable, je pense que c'est pour ça qu'on a pas vu ça avant.
CHANGES.rst
Outdated
@@ -2,6 +2,15 @@ | |||
Changelog | |||
========= | |||
|
|||
v0.10.0 Unreleased |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v0.10.0 Unreleased | |
v0.9.1 (unreleased) |
Pull Request Checklist:
number
) and pull request (:pull:number
) has been added.What kind of change does this PR introduce?
others
and assign it toothers
. This breaks the iteration.others
in l.147, it is no longuer a dict of dataset, we can't get toattrs
.Let me know if I misunderstood something.
Does this PR introduce a breaking change?
i don't think so.
Other information: