diff options
author | Thomas White <taw@physics.org> | 2013-06-02 14:11:39 -0700 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-06-02 14:11:39 -0700 |
commit | 8fb45911249c244a721d1bbea2eb5852f0a50b60 (patch) | |
tree | 7dac6d7b487d867cbba544888c476f88a70b2c62 /libcrystfel/src/integration.c | |
parent | 8a44164cfd5013687a0eb5cb10dc39c44db399c0 (diff) |
Fix RG delta output, and write only if actually calibrated
Diffstat (limited to 'libcrystfel/src/integration.c')
-rw-r--r-- | libcrystfel/src/integration.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c index c264f671..0e174139 100644 --- a/libcrystfel/src/integration.c +++ b/libcrystfel/src/integration.c @@ -1199,6 +1199,7 @@ static void refine_rigid_groups(struct intcontext *ic) rg->d_fsy = gsl_vector_get(dq2, 0); rg->d_ssy = gsl_vector_get(dq2, 1); rg->d_cny = gsl_vector_get(dq2, 2); + rg->have_deltas = 1; gsl_vector_free(dq1); gsl_vector_free(dq2); @@ -1211,6 +1212,7 @@ static void refine_rigid_groups(struct intcontext *ic) rg->d_fsy = 0.0; rg->d_ssy = 0.0; rg->d_cny = 0.0; + rg->have_deltas = 0; } |