-
-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: A temporary work-around for HDF5 testing
The HDF5ImageIO objects are single use for writing. After the initial use, the WriteImageInformation function is short circuited, and can not be reset for writing a second image. This bug was exposed while fixing a problem with the not throwing an exception when attempting to write to a path that does not exist. This temporary work around in the test framework allows fixing the initial problem without requiring fixing the HDF5ImageIO re-use issues. NOTE: Resetting the HDF5ImageIO object at the end of writing fixes the re-use problem for non-streaming case, but that causes the streaming tests to fail.
- Loading branch information
1 parent
bbddf47
commit 2ddf427
Showing
2 changed files
with
12 additions
and
5 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