-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update string equality tests for h5py 3.1 compatibility (#263)
By converting nexus attribute values to str 's. These can now sometimes be numpy.string_, sometimes str, depending on how the value was written. Rather than converting everything to numpy.string_, convert to str immediately when read, so we don't need to convert literals all over the place. In the best case, this is a no-op. Fixes #267 Co-authored-by: Nicholas Devenish <ndevenish@gmail.com>
- Loading branch information
Showing
2 changed files
with
70 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix errors introduced by moving to h5py 3.1+ |