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

indexamajig: Load the unit cell whether it's needed or not

This allows MOSFLM indexing to have access to more information.
parent 5e7a690b
......@@ -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;
}
free(pdb);
cell_print(cell);
write_stream_header(ofh, argc, argv);
......
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