aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-11-23 15:39:48 +0100
committerThomas White <taw@physics.org>2018-02-27 17:12:41 +0100
commit96f88aabda73663c90b0249f8973b7765f6d71c8 (patch)
tree8764e8727ef6c24279d50840e8366212ba2df8ea
parent07d1ff916b1731143f3ce7d76e4d1d2a5052a9ca (diff)
Add progress bar for scaling to reference
-rw-r--r--src/scaling.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scaling.c b/src/scaling.c
index 960233aa..ea2a47bd 100644
--- a/src/scaling.c
+++ b/src/scaling.c
@@ -551,5 +551,7 @@ void scale_all_to_reference(Crystal **crystals, int n_crystals,
linear_scale(crystal_get_reflections(crystals[i]), reference, &G);
crystal_set_osf(crystals[i], G);
crystal_set_Bfac(crystals[i], 0.0);
+ progress_bar(i, n_crystals, "Scaling to reference");
}
+ progress_bar(n_crystals, n_crystals, "Scaling to reference");
}