diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dw-hdfsee.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c index 94d4d62b..bd13dbe9 100644 --- a/src/dw-hdfsee.c +++ b/src/dw-hdfsee.c @@ -2647,11 +2647,9 @@ DisplayWindow *displaywindow_open(char *filename, char *geom_filename, if ( rgcoll_name != NULL ) { - dw->rg_coll = find_rigid_group_collection_by_name(dw->image->det, - rgcoll_name); - + dw->rg_coll = dw->image->det->rigid_group_collections[0]; if ( dw->rg_coll == NULL ) { - ERROR("Cannot find rigid group collection: %s\n", + ERROR("Cannot find suitable rigid group collection.\n", rgcoll_name); return NULL; } |