Skip to content

Commit

Permalink
Merge pull request #37 from cmhulbert/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
bogovicj authored Mar 4, 2024
2 parents 2775995 + 63dc19b commit cf87e9e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.file.FileSystems;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
Expand Down Expand Up @@ -283,7 +284,7 @@ private static IHDF5Reader openHdf5Reader(String hdf5Path) {

protected static String normalizeHdf5PathLocation(String hdf5Path) {
try {
return FILE_SYSTEM_KEY_VALUE_ACCESS.uri(hdf5Path).getPath();
return Paths.get(FILE_SYSTEM_KEY_VALUE_ACCESS.uri(hdf5Path)).toString();
} catch (URISyntaxException e) {
return hdf5Path;
}
Expand Down

0 comments on commit cf87e9e

Please sign in to comment.