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

indexamajig: Unit cell is not needed with --no-match

parent 0bcabd65
......@@ -617,8 +617,13 @@ int main(int argc, char *argv[])
cell = load_cell_from_pdb(pdb);
if ( cell == NULL ) {
ERROR("Couldn't read unit cell (from %s)\n", pdb);
return 1;
if ( config_nomatch ) {
STATUS("Couldn't read unit cell, but no matching is"
" requested, so that's OK.\n");
} else {
ERROR("Couldn't read unit cell (from %s)\n", pdb);
return 1;
}
}
free(pdb);
......
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