-
Notifications
You must be signed in to change notification settings - Fork 261
Fix Nix Ignoring Array Annotations #662
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 Nix Ignoring Array Annotations #662
Conversation
write as properties, read as array annotation if the length is correct
Hello @Kleinjohann! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2019-07-24 09:00:27 UTC |
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.
Looks good, but the same block of code is repeated many times, would be better to extract this into a function.
Instead of guessing the type of the |
I had a look at it and the updated version also works for me. Depending on the result of #659, the implementation of the writing of |
@Kleinjohann: I would like to merge this one now. Could you resolve the 4 conflicting lines? |
…fix/nix_array_annotations
…fix/nix_array_annotations # Conflicts: # neo/io/nixio.py
[Update to PR #662] fix duplication of array_annotations into annotations
The NixIO currently just ignores array annotations. I went through it with @achilleas-k and added them analogously to annotations. For writing this is straightforward, when reading I check the shape of all annotations and turn them into array annotations if it matches.