summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2018-11-05 01:54:41 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2018-11-05 01:54:41 (GMT)
commit471917c6384587c5de7ff4473faaae5d3fa248a6 (patch)
tree2baedc58a2cb5d7c861088b7f2437c7658db7390 /src/H5D.c
parentee6862d719ab7d174b167fb16ae96a76a6198a1d (diff)
downloadhdf5-471917c6384587c5de7ff4473faaae5d3fa248a6.zip
hdf5-471917c6384587c5de7ff4473faaae5d3fa248a6.tar.gz
hdf5-471917c6384587c5de7ff4473faaae5d3fa248a6.tar.bz2
Updated new API functions
Description: - Per Vailin's review, revised H5Dget_chunk_info_by_coord to handle non-existing chunk and H5Dget_num_chunks and H5Dget_chunk_info to handle dataset with no data. - Addressed other review comments - Note that additional tests will be added as we need to send users these functions asap for feedback. Platforms tested: Linux/64 (jelly) Linux/64 (platypus) Darwin (osx1011test)
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 286ab4e..32b2453 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -1230,7 +1230,7 @@ H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t index, hsize_t *offset
/* Call private function to get the chunk info given the chunk's index */
if(H5D__get_chunk_info(dset, space, index, offset, filter_mask, addr, size) < 0)
- HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, FAIL, "Can't get chunk info")
+ HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, FAIL, "can't get chunk info")
done:
FUNC_LEAVE_API(ret_value);
@@ -1279,7 +1279,7 @@ H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned *filte
/* Internal function to get the chunk info */
if (H5D__get_chunk_info_by_coord(dset, offset, filter_mask, addr, size) < 0)
- HGOTO_ERROR(H5E_DATASET, H5E_READERROR, FAIL, "can't read unprocessed chunk data")
+ HGOTO_ERROR(H5E_DATASET, H5E_READERROR, FAIL, "can't get chunk info")
done:
FUNC_LEAVE_API(ret_value)
} /* end H5Dget_chunk_info_by_coord() */