aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValerio Mariani <valerio.mariani@desy.de>2015-02-03 13:45:02 +0100
committerThomas White <taw@physics.org>2015-02-03 15:51:01 +0100
commitdefbc4f9424053c0112acee942025e5ec71af8a8 (patch)
tree350026e2575611b4421b2e27e022ec96e101f668
parentecfa1d6f69156c64934d932905c0efc9c60200e7 (diff)
Hdfsee Uses the first rigid group collection instead of the default one
-rw-r--r--src/dw-hdfsee.c6
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;
}