From c7712c20c3977af8eccf9a7951b9f494e5ba14c4 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 11 Oct 2012 18:16:02 +0200 Subject: indexamajig: Load the unit cell whether it's needed or not This allows MOSFLM indexing to have access to more information. --- src/indexamajig.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/indexamajig.c b/src/indexamajig.c index 4b3dcb5d..e8c51422 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -549,18 +549,13 @@ int main(int argc, char *argv[]) } free(geometry); - if ( reduction_needs_cell || indexer_needs_cell ) { - cell = load_cell_from_pdb(pdb); - if ( cell == NULL ) { - ERROR("Couldn't read unit cell (from %s)\n", pdb); - return 1; - } - } else { - STATUS("No cell needed for these choices of indexing" - " and reduction.\n"); - cell = NULL; + cell = load_cell_from_pdb(pdb); + if ( cell == NULL ) { + ERROR("Couldn't read unit cell (from %s)\n", pdb); + return 1; } free(pdb); + cell_print(cell); write_stream_header(ofh, argc, argv); -- cgit v1.2.3