aboutsummaryrefslogtreecommitdiff
path: root/src/hdf5-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hdf5-file.c')
-rw-r--r--src/hdf5-file.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/hdf5-file.c b/src/hdf5-file.c
index a24a663a..4bc39449 100644
--- a/src/hdf5-file.c
+++ b/src/hdf5-file.c
@@ -112,7 +112,10 @@ int get_peaks(struct image *image, struct hdfile *f)
dh = H5Dopen(f->fh, "/processing/hitfinder/peakinfo", H5P_DEFAULT);
- if ( dh < 0 ) {
+ if ( dh < 0 ) dh = H5Dopen(f->fh, "/data/peakinfo", H5P_DEFAULT);
+
+ if ( dh < 0 ){
+
ERROR("No peak list found!\n");
return 1;
}