mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r14361] add a warning message in case a dataset cannot be created with modified DCPL
tested: linux
This commit is contained in:
parent
7e1d390491
commit
23c1eb4a6c
@ -526,7 +526,13 @@ int do_copy_objects(hid_t fidin,
|
||||
H5E_BEGIN_TRY {
|
||||
dset_out = H5Dcreate2(fidout, travt->objs[i].name, wtype_id, f_space_id, H5P_DEFAULT, dcpl_out, H5P_DEFAULT);
|
||||
} H5E_END_TRY;
|
||||
if(dset_out == FAIL) {
|
||||
|
||||
if(dset_out == FAIL)
|
||||
{
|
||||
if(options->verbose)
|
||||
printf(" warning: could not create dataset <%s>. Applying original settings\n",
|
||||
travt->objs[i].name);
|
||||
|
||||
if((dset_out = H5Dcreate2(fidout, travt->objs[i].name, wtype_id, f_space_id, H5P_DEFAULT, dcpl_id, H5P_DEFAULT)) < 0)
|
||||
goto error;
|
||||
apply_f = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user