aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/partialator.c')
-rw-r--r--src/partialator.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 124ce2e4..b5f24b1d 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -1223,7 +1223,9 @@ int main(int argc, char *argv[])
/* Initial rejection, figures of merit etc */
if ( reference == NULL ) {
- scale_all(crystals, n_crystals, nthreads, pmodel);
+ if ( !no_scale ) {
+ scale_all(crystals, n_crystals, nthreads, pmodel);
+ }
full = merge_intensities(crystals, n_crystals, nthreads, pmodel,
min_measurements, push_res, 1);
} else {
@@ -1272,7 +1274,9 @@ int main(int argc, char *argv[])
check_rejection(crystals, n_crystals, full, max_B);
if ( reference == NULL ) {
- scale_all(crystals, n_crystals, nthreads, pmodel);
+ if ( !no_scale ) {
+ scale_all(crystals, n_crystals, nthreads, pmodel);
+ }
reflist_free(full);
full = merge_intensities(crystals, n_crystals, nthreads,
pmodel, min_measurements,
@@ -1317,7 +1321,9 @@ int main(int argc, char *argv[])
if ( reference == NULL ) {
- scale_all(crystals, n_crystals, nthreads, pmodel);
+ if ( !no_scale ) {
+ scale_all(crystals, n_crystals, nthreads, pmodel);
+ }
reflist_free(full);
full = merge_intensities(crystals, n_crystals, nthreads,
pmodel, min_measurements,