diff options
author | Robert Buecker <bueckerr@cfelm-pcx30388.desy.de> | 2020-08-06 10:52:47 +0200 |
---|---|---|
committer | Robert Buecker <bueckerr@cfelm-pcx30388.desy.de> | 2020-08-06 10:52:47 +0200 |
commit | a4b8e131cd253f947148eae96c311edf532e9a37 (patch) | |
tree | 4e73787f7d892fcf77442ed723cffa2bf347acd9 /libcrystfel | |
parent | 8aa94ecb8179de2e38ce2a7f135df1eb97eb0b80 (diff) |
changed status messages for file indexer
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/index.c | 9 |
1 files 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; } |