diff options
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r-- | libcrystfel/src/index.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c index 3ac3dad5..ddd25a4b 100644 --- a/libcrystfel/src/index.c +++ b/libcrystfel/src/index.c @@ -184,9 +184,12 @@ void *skip_prepare(char *solution_filename, UnitCell *cell) fh = fopen(path_to_sol, "r"); if ( fh == NULL ) { - ERROR("indexing.sol not found by skip_prepare\n"); + ERROR("%s not found by skip_prepare in %s\n", path_to_sol, cwd); return 0; } + else { + fprintf("Reading solution file %s from %s\n", path_to_sol, cwd); + } nlines = ncrystals_in_sol(path_to_sol); nparams_per_line = 11; //There are 9 vector component and 2 detector shifts excluding filename and event @@ -310,6 +313,8 @@ int ncrystals_in_sol(char *path) // Close the file fclose(fh); + printf("Found indexing file %s containing %d lines. \n", path, count); + return count; } |