diff options
author | Thomas White <taw@physics.org> | 2022-11-08 13:36:17 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-11-08 13:42:27 +0100 |
commit | 46baa4da52b939db5e8a01271befb9f5e704b3b7 (patch) | |
tree | 03600453573def91f0194d76f19bf67807ce6a6b /src/process_image.c | |
parent | 7a406dd524e4b01877cca301f85265a2901ffb43 (diff) |
indexamajig: Add --cell-parameters-only
Diffstat (limited to 'src/process_image.c')
-rw-r--r-- | src/process_image.c | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/process_image.c b/src/process_image.c index f1ddb7f0..d8ccca93 100644 --- a/src/process_image.c +++ b/src/process_image.c @@ -448,16 +448,18 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs, } /* Integrate! */ - set_last_task(last_task, "integration"); - profile_start("integration"); - sb_shared->pings[cookie]++; - integrate_all_5(image, iargs->int_meth, PMODEL_XSPHERE, - iargs->push_res, - iargs->ir_inn, iargs->ir_mid, iargs->ir_out, - iargs->int_diag, iargs->int_diag_h, - iargs->int_diag_k, iargs->int_diag_l, - &sb_shared->term_lock, iargs->overpredict); - profile_end("integration"); + if ( !iargs->cell_params_only ) { + set_last_task(last_task, "integration"); + profile_start("integration"); + sb_shared->pings[cookie]++; + integrate_all_5(image, iargs->int_meth, PMODEL_XSPHERE, + iargs->push_res, + iargs->ir_inn, iargs->ir_mid, iargs->ir_out, + iargs->int_diag, iargs->int_diag_h, + iargs->int_diag_k, iargs->int_diag_l, + &sb_shared->term_lock, iargs->overpredict); + profile_end("integration"); + } streamwrite: set_last_task(last_task, "stream write"); |