Skip to content

Commit

Permalink
Consider all datasets and groups in Mat_VarCopyIterate
Browse files Browse the repository at this point in the history
 * See #41
  • Loading branch information
tbeu committed Sep 27, 2016
1 parent ee7131d commit cbd41c1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/mat.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,6 @@ Mat_VarCopyIterate(hid_t fid, const char *name, const H5L_info_t *info, void *op

/* FIXME: follow symlinks, datatypes? */

/* Check that this is not the /#refs# or /"#subsystem#" group */
if ( 0 == strcmp(name, "#refs#") || 0 == strcmp(name, "#subsystem#") )
return 0;

H5Oget_info_by_name(fid, name, &object_info, H5P_DEFAULT);
if ( H5O_TYPE_DATASET != object_info.type && H5O_TYPE_GROUP != object_info.type )
return 0;

mat_data = (struct mat_copy_iter_data *)op_data;
if ( mat_data == NULL )
return -1;
Expand Down

0 comments on commit cbd41c1

Please sign in to comment.