diff options
author | Thomas White <taw@physics.org> | 2010-08-04 13:31:41 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:55 +0100 |
commit | dc948a171f57bc7131415b511a443f7840746bfd (patch) | |
tree | ddc16543e687f083f464fbcf145ca1d7ba4b5725 | |
parent | 0bcabd65823ae0d86096f0877735bea4f3b95502 (diff) |
indexamajig: Unit cell is not needed with --no-match
-rw-r--r-- | src/indexamajig.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index 45ff3b72..829f29be 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -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); |