Skip to content

Commit

Permalink
Removed extraneous HDF5 version attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Dec 14, 2023
1 parent bf77b42 commit 81876f3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion R/saveArray.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ NULL
ghandle <- H5Gcreate(fhandle, name)
on.exit(H5Gclose(ghandle), add=TRUE, after=FALSE)

h5_write_attribute(ghandle, "version", "1.0", scalar=TRUE)
h5_write_attribute(ghandle, "type", array_type(x), scalar=TRUE)
h5_write_attribute(ghandle, "transposed", 1L, scalar=TRUE)

Expand Down
1 change: 0 additions & 1 deletion R/saveSparseMatrix.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ NULL
ghandle <- H5Gcreate(fhandle, name)
on.exit(H5Gclose(ghandle), add=TRUE, after=FALSE)

h5_write_attribute(ghandle, "version", "1.0", scalar=TRUE)
h5_write_attribute(ghandle, "type", to_array_type(x), scalar=TRUE)
h5_write_vector(ghandle, "shape", dim(x), type="H5T_NATIVE_UINT32")

Expand Down

0 comments on commit 81876f3

Please sign in to comment.