aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2009-11-25 18:12:14 +0100
committerThomas White <taw@physics.org>2009-11-25 18:12:14 +0100
commitc275432adfec54341839aa903c19a78cde2a734c (patch)
treea7353d6de885d3ef50d3f623d9c03d0a0139d1a5 /src/diffraction.c
parent0a3ed7206e2bc009ba86a8072530a3f18196cf8f (diff)
Improve progress bar
Diffstat (limited to 'src/diffraction.c')
-rw-r--r--src/diffraction.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/diffraction.c b/src/diffraction.c
index 8cf3f4ed..f1322c04 100644
--- a/src/diffraction.c
+++ b/src/diffraction.c
@@ -166,7 +166,6 @@ void get_diffraction(struct image *image)
get_reflections_cached(image->molecule, image->xray_energy);
}
- progress_bar(0, image->width-1);
for ( x=0; x<image->width; x++ ) {
for ( y=0; y<image->height; y++ ) {
@@ -185,6 +184,6 @@ void get_diffraction(struct image *image)
image->sfacs[x + image->width*y] = val;
}
- progress_bar(x, image->width-1);
+ progress_bar(x, image->width-1, "Calculating lattice factors");
}
}