Commit 9bd287bf authored by Thomas White's avatar Thomas White Committed by Thomas White
Browse files

Put selection routines in the right order

parent 45d75531
......@@ -475,9 +475,6 @@ int main(int argc, char *argv[])
STATUS("Performing initial scaling.\n");
full = scale_intensities(images, n_usable_patterns, reference);
select_reflections_for_refinement(images, n_usable_patterns, full,
have_reference);
/* Iterate */
for ( i=0; i<n_iter; i++ ) {
......@@ -510,6 +507,8 @@ int main(int argc, char *argv[])
}
/* Refine the geometry of all patterns to get the best fit */
select_reflections_for_refinement(images, n_usable_patterns,
comp, have_reference);
refine_all(images, n_usable_patterns, det,
comp, nthreads, fhg, fhp);
......@@ -518,9 +517,6 @@ int main(int argc, char *argv[])
struct image *cur = &images[j];
update_partialities(cur, &n_expected,
&n_found, &n_notfound);
nobs += select_scalable_reflections(cur->reflections,
reference);
......@@ -531,9 +527,6 @@ int main(int argc, char *argv[])
full = scale_intensities(images, n_usable_patterns,
reference);
select_reflections_for_refinement(images, n_usable_patterns,
full, have_reference);
fclose(fhg);
fclose(fhp);
......
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