diff options
author | Thomas White <taw@physics.org> | 2011-05-16 17:44:39 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:26 +0100 |
commit | c65ac2bd1d3ba1b69349ba52d0e2a72ee2c2e25d (patch) | |
tree | 7eb37d1c42ae3deffffcf4a7678e1e3fead68638 /src/indexamajig.c | |
parent | a56aafbeae1b6438c84cb433bfb17023581d5527 (diff) |
Fussiness
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index 7da8a280..569a41bd 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -264,7 +264,8 @@ static void process_image(void *pp, int cookie) if ( beam != NULL ) { ERROR("Using nominal photon enery of %.2f eV\n", beam->photon_energy); - image.lambda = ph_en_to_lambda(eV_to_J(beam->photon_energy)); + image.lambda = ph_en_to_lambda( + eV_to_J(beam->photon_energy)); } else { ERROR("No wavelength in file, so you need to give " "a beam parameters file with -b.\n"); @@ -313,7 +314,8 @@ static void process_image(void *pp, int cookie) config_verbose, pargs->static_args.ipriv, pargs->static_args.config_insane); - /* No cell at this point? Then we're done. */ + + if ( image.indexed_cell != NULL ) pargs->indexable = 1; /* Measure intensities if requested */ |