From fd622410bb8c1386da65652dfb36c94da3c61c48 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 23 Nov 2013 03:42:49 -0800 Subject: indexamajig: Ignore -j if --int-cond is used --- src/indexamajig.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/indexamajig.c b/src/indexamajig.c index 7aeccd53..8806d4c2 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -144,7 +144,7 @@ static void show_help(const char *s) " validity.\n" " --no-peaks-in-stream Do not record peak search results in the stream.\n" " --no-refls-in-stream Do not record integrated reflections in the stream.\n" -" --int-diag= Show debugging information about this reflection.\n" +" --int-diag= Show debugging information about reflections.\n" ); } @@ -572,6 +572,11 @@ int main(int argc, char *argv[]) free(int_diag); + if ( (n_proc > 1) && (iargs.int_diag != INTDIAG_NONE) ) { + n_proc = 1; + STATUS("Ignored \"-j\" because you used --int-diag.\n"); + } + } ofd = open(outfile, O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR | S_IWUSR); -- cgit v1.2.3