aboutsummaryrefslogtreecommitdiff
path: root/src/gui_index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2024-01-18 15:24:09 +0100
committerThomas White <taw@physics.org>2024-02-06 16:59:34 +0100
commitec990bb275f55c2b5228c6995cf9ffc19074b6f9 (patch)
tree853d89e169ca47fdce294d36ec22edba01ae229c /src/gui_index.c
parent335067449b3858a55442ffb355af56f55410d154 (diff)
Crystals shouldn't own RefLists (part 6)
This fixes the remaining programs.
Diffstat (limited to 'src/gui_index.c')
-rw-r--r--src/gui_index.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui_index.c b/src/gui_index.c
index 2cc8e8db..218331eb 100644
--- a/src/gui_index.c
+++ b/src/gui_index.c
@@ -636,19 +636,19 @@ static void run_indexing_once(struct crystfelproject *proj)
index_pattern(proj->cur_image, ipriv);
for ( i=0; i<proj->cur_image->n_crystals; i++ ) {
- crystal_set_mosaicity(proj->cur_image->crystals[i], 0.0);
+ crystal_set_mosaicity(proj->cur_image->crystals[i].cr, 0.0);
if ( proj->indexing_params.use_fix_profile_radius ) {
/* Manual radius */
- crystal_set_profile_radius(proj->cur_image->crystals[i],
+ crystal_set_profile_radius(proj->cur_image->crystals[i].cr,
proj->indexing_params.fix_profile_radius);
} else {
/* Auto radius determination */
- crystal_set_profile_radius(proj->cur_image->crystals[i],
+ crystal_set_profile_radius(proj->cur_image->crystals[i].cr,
0.02e9);
- if ( refine_radius(proj->cur_image->crystals[i],
+ if ( refine_radius(proj->cur_image->crystals[i].cr,
proj->cur_image) )
{
ERROR("WARNING: Radius determination failed\n");
@@ -682,7 +682,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++ ) {
- cell_print(crystal_get_cell(proj->cur_image->crystals[i]));
+ cell_print(crystal_get_cell(proj->cur_image->crystals[i].cr));
}
}