aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-12-12 15:31:51 -0800
committerThomas White <taw@physics.org>2012-02-22 15:27:09 +0100
commit2b99d940b4d56d973b379a329b6303af43488b17 (patch)
tree56e133faa508f439a407e2889b6d6245cff8725c /src
parentf35fd8c3733e207bed0d049d5dab6d8d62327b20 (diff)
Fussiness
Diffstat (limited to 'src')
-rw-r--r--src/hdf5-file.c5
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;
}