From 162b0c7a8a8a7c91a4c12e75577ec33aef03b1ce Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 16 Jun 2014 12:07:07 +0200 Subject: partial_sim: Don't assume input reflection list is in asymmetric unit --- src/partial_sim.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/partial_sim.c') diff --git a/src/partial_sim.c b/src/partial_sim.c index 17603d70..fa68638f 100644 --- a/src/partial_sim.c +++ b/src/partial_sim.c @@ -657,6 +657,8 @@ int main(int argc, char *argv[]) /* Load (full) reflections */ if ( input_file != NULL ) { + RefList *as; + full = read_reflections(input_file); if ( full == NULL ) { ERROR("Failed to read reflections from '%s'\n", @@ -670,6 +672,10 @@ int main(int argc, char *argv[]) return 1; } + as = asymmetric_indices(full, sym); + reflist_free(full); + full = as; + } else { random_intensities = 1; } -- cgit v1.2.3