diff options
-rw-r--r-- | src/hdf5-file.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hdf5-file.c b/src/hdf5-file.c index 2a99939c..b54905df 100644 --- a/src/hdf5-file.c +++ b/src/hdf5-file.c @@ -113,9 +113,8 @@ int get_peaks(struct image *image, struct hdfile *f) dh = H5Dopen(f->fh, "/processing/hitfinder/peakinfo", H5P_DEFAULT); if ( dh < 0 ) dh = H5Dopen(f->fh, "/data/peakinfo", H5P_DEFAULT); - - if ( dh < 0 ){ - + + if ( dh < 0 ) { ERROR("No peak list found!\n"); return 1; } |