aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-05-11 11:27:25 +0200
committerThomas White <taw@physics.org>2018-05-11 11:27:25 +0200
commit1f0987de8de5a1594623ab5d9fa24f1afe74dc93 (patch)
treeb9f62eb35ca4286a13e4348b702d4bdf578bd9b7 /src/partialator.c
parent25fb665fe5e5491d8a1b54c2cdce82277b7c512d (diff)
Disable initial scaling if requested
Diffstat (limited to 'src/partialator.c')
-rw-r--r--src/partialator.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/partialator.c b/src/partialator.c
index e775caef..3dce172c 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -1340,8 +1340,10 @@ int main(int argc, char *argv[])
/* Create reference data set if we don't already have one */
if ( reference == NULL ) {
- STATUS("Initial scaling...\n");
- scale_all(crystals, n_crystals, nthreads, scaleflags);
+ if ( !no_scale ) {
+ STATUS("Initial scaling...\n");
+ scale_all(crystals, n_crystals, nthreads, scaleflags);
+ }
full = merge_intensities(crystals, n_crystals, nthreads,
min_measurements, push_res, 1);
} else {