diff options
author | Valerio Mariani <valerio.mariani@desy.de> | 2014-03-31 10:26:40 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-09-05 18:03:30 +0200 |
commit | 6b889daf0d737c7c921ba80818b0b008e4de86af (patch) | |
tree | b58fbda31bb11000a60b03617d3d0bb7cc8f7044 /libcrystfel/src/hdf5-file.c | |
parent | 22dcf392e23945d31cab713a752afbd3d9da76ca (diff) |
orig_minxx and orig_maxss are initialized when geometry is loaded as opposed to when the image is loaded
Diffstat (limited to 'libcrystfel/src/hdf5-file.c')
-rw-r--r-- | libcrystfel/src/hdf5-file.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libcrystfel/src/hdf5-file.c b/libcrystfel/src/hdf5-file.c index 333e1fff..fa5c127d 100644 --- a/libcrystfel/src/hdf5-file.c +++ b/libcrystfel/src/hdf5-file.c @@ -911,11 +911,6 @@ int hdf5_read2(struct hdfile *f, struct image *image, const char* element, int s struct panel *p; p=&image->det->panels[pi]; - if ( p->orig_min_fs == -1 ) p->orig_min_fs = p->min_fs; - if ( p->orig_max_fs == -1 ) p->orig_max_fs = p->max_fs; - if ( p->orig_min_ss == -1 ) p->orig_min_ss = p->min_ss; - if ( p->orig_max_ss == -1 ) p->orig_max_ss = p->max_ss; - if ( override_data_and_mask ) { fail = hdfile_set_image(f, element); } else { |