Skip to content

Commit 6ab30fc

Browse files
committed
fix: change name of driver variable
1 parent 34121ae commit 6ab30fc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎h5py/_hl/files.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def driver(self):
256256
h5fd.MPIPOSIX: 'mpiposix',
257257
h5fd.fileobj_driver: 'fileobj'}
258258
if ros3:
259-
drivers[h5fd.ROS3] = 'ros3'
259+
drivers[h5fd.ROS3D] = 'ros3'
260260
return drivers.get(self.id.get_access_plist().get_driver(), 'unknown')
261261

262262
@property

‎h5py/h5fd.pyx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ MULTI = H5FD_MULTI
4343
SEC2 = H5FD_SEC2
4444
STDIO = H5FD_STDIO
4545
IF HDF5_VERSION >= (1, 10, 6):
46-
ROS3 = H5FD_ROS3
46+
ROS3D = H5FD_ROS3
4747
IF UNAME_SYSNAME == "Windows":
4848
WINDOWS = H5FD_WINDOWS
4949
ELSE:

0 commit comments

Comments
 (0)