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[]) ...@@ -549,18 +549,13 @@ int main(int argc, char *argv[])
} }
free(geometry); free(geometry);
if ( reduction_needs_cell || indexer_needs_cell ) { cell = load_cell_from_pdb(pdb);
cell = load_cell_from_pdb(pdb); if ( cell == NULL ) {
if ( cell == NULL ) { ERROR("Couldn't read unit cell (from %s)\n", pdb);
ERROR("Couldn't read unit cell (from %s)\n", pdb); return 1;
return 1;
}
} else {
STATUS("No cell needed for these choices of indexing"
" and reduction.\n");
cell = NULL;
} }
free(pdb); free(pdb);
cell_print(cell);
write_stream_header(ofh, argc, argv); 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