aboutsummaryrefslogtreecommitdiff
path: root/src/hdf5-file.c
diff options
context:
space:
mode:
authorRichard Kirian <rkirian@asu.edu>2010-12-08 18:30:31 -0700
committerThomas White <taw@physics.org>2012-02-22 15:27:09 +0100
commit43d32f68cd1ff015e8e4d701b7574aaf71d66907 (patch)
tree7ee14391f3f09d587237fefd462f555819118ba1 /src/hdf5-file.c
parent6759b56838606bca2ecc3e1182d6ecad252348d6 (diff)
hdf5-file.c: add support for old Dec 09 peakinfo
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;
}