aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-09-24 11:54:19 +0200
committerThomas White <taw@physics.org>2020-09-24 11:54:19 +0200
commitfd2bf5d76c6f6fce7bc3f4d82c7c0c8dda896feb (patch)
tree4b5aada25e825e51c64ba11e3a4a6a30759f0178
parent3702d2cc319369fb42d28f28238ad2fcc3f2706e (diff)
Use cell_print in index_once
-rw-r--r--src/gui_index.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui_index.c b/src/gui_index.c
index 4ea2e3ac..fc214327 100644
--- a/src/gui_index.c
+++ b/src/gui_index.c
@@ -566,12 +566,7 @@ static void run_indexing_once(struct crystfelproject *proj)
STATUS("Number of crystals: %i\n",
proj->cur_image->n_crystals);
for ( i=0; i<proj->cur_image->n_crystals; i++ ) {
- double a, b, c, al, be, ga;
- cell_get_parameters(crystal_get_cell(proj->cur_image->crystals[i]),
- &a, &b, &c, &al, &be, &ga);
- STATUS(" %2i: %.2f %.2f %.2f A, %.2f %.2f %.2f deg\n",
- i, a*1e10, b*1e10, c*1e10,
- rad2deg(al), rad2deg(be), rad2deg(ga));
+ cell_print(crystal_get_cell(proj->cur_image->crystals[i]));
}
}