From d6a67cc1d876be33cc0bceb2e064cc9721b81a1b Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 31 May 2022 14:27:31 +0200 Subject: indexamajig: Fix JSON when not indexing/integrating Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/68 --- src/indexamajig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/indexamajig.c b/src/indexamajig.c index 75c7a2d5..81fb78ae 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -229,7 +229,7 @@ static void write_harvest_file(struct index_args *args, fprintf(fh, " },\n"); if ( args->ipriv == NULL ) { - fprintf(fh, " \"indexing\": null\n"); + fprintf(fh, " \"indexing\": null,\n"); fprintf(fh, " \"integration\": null\n"); } else { -- cgit v1.2.3