diff options
author | Thomas White <taw@physics.org> | 2014-12-09 16:50:20 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-12-09 16:50:20 +0100 |
commit | cac88930afea54def29751416e1ce3ec795072b3 (patch) | |
tree | 209f728478256bd9e1ce4c6a0f0ee7d547a3f562 /src | |
parent | 0f33cc673d2dc112fc0d146877a8a5cfaafbf33d (diff) |
Capitalise all warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/ambigator.c | 2 | ||||
-rw-r--r-- | src/check_hkl.c | 4 | ||||
-rw-r--r-- | src/compare_hkl.c | 2 | ||||
-rw-r--r-- | src/hrs-scaling.c | 2 | ||||
-rw-r--r-- | src/partial_sim.c | 2 | ||||
-rw-r--r-- | src/process_image.c | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/src/ambigator.c b/src/ambigator.c index 62bcf79d..39609e5f 100644 --- a/src/ambigator.c +++ b/src/ambigator.c @@ -604,7 +604,7 @@ static void detwin(struct cc_list *ccs, int n_crystals, int *assignments, } if ( ndud > 0 ) { - STATUS("Warning: %i crystals had no correlation\n", ndud); + STATUS("WARNING: %i crystals had no correlation\n", ndud); } STATUS("Mean f,g = %10f,%10f. Changed %i assignments this time.\n", diff --git a/src/check_hkl.c b/src/check_hkl.c index e10f5f29..a5e206c1 100644 --- a/src/check_hkl.c +++ b/src/check_hkl.c @@ -614,12 +614,12 @@ static void plot_shells(RefList *list, UnitCell *cell, const SymOpList *sym, STATUS("%i reflections in total.\n", nrefl); if ( nout ) { - STATUS("Warning; %i reflections outside resolution range.\n", + STATUS("WARNING; %i reflections outside resolution range.\n", nout); } if ( nsilly ) { - STATUS("Warning; %i reflections had infinite or invalid values" + STATUS("WARNING; %i reflections had infinite or invalid values" " of I/sigma(I).\n", nsilly); } diff --git a/src/compare_hkl.c b/src/compare_hkl.c index a35e4f3b..fc00c7d1 100644 --- a/src/compare_hkl.c +++ b/src/compare_hkl.c @@ -718,7 +718,7 @@ static void do_fom(RefList *list1, RefList *list2, UnitCell *cell, cts[bin]++; } if ( n_out) { - ERROR("Warning: %i reflection pairs outside range.\n", n_out); + ERROR("WARNING: %i reflection pairs outside range.\n", n_out); } switch ( fom ) { diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c index 23d58e8f..7f15f54d 100644 --- a/src/hrs-scaling.c +++ b/src/hrs-scaling.c @@ -549,7 +549,7 @@ RefList *scale_intensities(Crystal **crystals, int n, } while ( !done && (i < MAX_CYCLES) ); if ( i == MAX_CYCLES ) { - ERROR("Warning: Scaling did not converge.\n"); + ERROR("WARNING: Scaling did not converge.\n"); } calculate_esds(crystals, n, full, n_threads, min_redundancy, pmodel); diff --git a/src/partial_sim.c b/src/partial_sim.c index 6e5f1ced..b8914feb 100644 --- a/src/partial_sim.c +++ b/src/partial_sim.c @@ -394,7 +394,7 @@ static void finalise_job(void *vqargs, void *vwargs) ret = write_chunk(qargs->stream, &wargs->image, NULL, 0, 1, NULL); if ( ret != 0) { - ERROR("Warning: error writing stream file.\n"); + ERROR("WARNING: error writing stream file.\n"); } for ( i=0; i<NBINS; i++ ) { diff --git a/src/process_image.c b/src/process_image.c index a964266a..41810e12 100644 --- a/src/process_image.c +++ b/src/process_image.c @@ -273,7 +273,7 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs, n += crystal_get_num_implausible_reflections(image.crystals[i]); } if ( n > 0 ) { - STATUS("Warning: %i implausibly negative reflection%s in %s.\n", + STATUS("WARNING: %i implausibly negative reflection%s in %s.\n", n, n>1?"s":"", image.filename); } |