diff options
-rw-r--r-- | src/indexamajig.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index ef6dbd42..bdb2af96 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -802,8 +802,6 @@ int main(int argc, char *argv[]) return 1; } free(cellfile); - STATUS("This is what I understood your unit cell to be:\n"); - cell_print(iargs.cell); } else { STATUS("No unit cell given.\n"); iargs.cell = NULL; @@ -869,12 +867,26 @@ int main(int argc, char *argv[]) " to index anything.\n" "If that isn't what you wanted, re-run with" " --indexing=<methods>.\n"); + if ( iargs.cell != NULL ) { + STATUS("Ignoring your unit cell.\n"); + } + iargs.ipriv = NULL; + + } else if ( strcmp(indm_str, "none") == 0 ) { + + STATUS("Indexing/integration disabled.\n"); + if ( iargs.cell != NULL ) { + STATUS("Ignoring your unit cell.\n"); + } iargs.ipriv = NULL; } else { IndexingFlags flags = 0; + STATUS("This is what I understood your unit cell to be:\n"); + cell_print(iargs.cell); + if ( if_nocomb ) { flags |= INDEXING_CHECK_CELL_AXES; } else { |