Commit cd6afc9e authored by Thomas White's avatar Thomas White
Browse files

process_hkl: Fix symmetry

parent 8ac49af1
......@@ -136,14 +136,15 @@ static void merge_pattern(RefList *model, RefList *new, int max_only,
double model_int;
get_indices(refl, &h, &k, &l);
/* Put into the asymmetric unit for the target group */
get_asymm(h, k, l, &h, &k, &l, sym);
model_version = find_refl(model, h, k, l);
if ( model_version == NULL ) {
model_version = add_refl(model, h, k, l);
}
/* Put into the asymmetric unit for the target group */
get_asymm(h, k, l, &h, &k, &l, sym);
/* Read the intensity from the original location
* (i.e. before screwing around with symmetry) */
intensity = get_intensity(refl);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment