From e3e8f041e2e541d8e20cab7c755f2ad03873df54 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 1 Dec 2014 16:19:18 +0100 Subject: Improve MOSFLM feedback --- libcrystfel/src/mosflm.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/libcrystfel/src/mosflm.c b/libcrystfel/src/mosflm.c index dd865570..a6cc5974 100644 --- a/libcrystfel/src/mosflm.c +++ b/libcrystfel/src/mosflm.c @@ -200,18 +200,18 @@ static int check_cell(struct mosflm_private *mp, struct image *image, static void mosflm_parseline(const char *line, struct image *image, struct mosflm_data *dirax) { - #if MOSFLM_VERBOSE - char *copy; - int i; + if ( MOSFLM_VERBOSE || (strncmp(line, "Invocation:", 11) == 0) ) { + char *copy; + int i; - copy = strdup(line); - for ( i=0; i