From a4b8e131cd253f947148eae96c311edf532e9a37 Mon Sep 17 00:00:00 2001 From: Robert Buecker Date: Thu, 6 Aug 2020 10:52:47 +0200 Subject: changed status messages for file indexer --- libcrystfel/src/index.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c index 1e8820d7..2b5907ba 100644 --- a/libcrystfel/src/index.c +++ b/libcrystfel/src/index.c @@ -184,7 +184,7 @@ void *skip_prepare(char *solution_filename, UnitCell *cell) fh = fopen(path_to_sol, "r"); if ( fh == NULL ) { - ERROR("%s not found by skip_prepare in %s\n", path_to_sol, cwd); + ERROR("%s not found by skip_prepare in %s\n", path_to_sol, cwd); return 0; } else { @@ -283,9 +283,6 @@ void *skip_prepare(char *solution_filename, UnitCell *cell) for (int k = 0; k < nparams_in_solution; k++) { - if ( (k % 1000) == 0 ){ - STATUS("Read %d parameters.\n", k); - } dp->solutions[k] = params[k]; } @@ -362,7 +359,9 @@ static int skip_index(struct image *image, void *mpriv) HASH_FIND(hh, line_hash, &item->key, sizeof(struct record_key_t), p); /* id already in the hash? */ if (p==NULL) { - printf("Not indexing file %s, event %s %d \n", image->filename, *image->event->path_entries, *image->event->dim_entries); + /* + STATUS("Not indexing file %s, event %s %d \n", image->filename, *image->event->path_entries, *image->event->dim_entries); + */ return 0; } -- cgit v1.2.3