aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-12-09 16:50:20 +0100
committerThomas White <taw@physics.org>2014-12-09 16:50:20 +0100
commitcac88930afea54def29751416e1ce3ec795072b3 (patch)
tree209f728478256bd9e1ce4c6a0f0ee7d547a3f562
parent0f33cc673d2dc112fc0d146877a8a5cfaafbf33d (diff)
Capitalise all warnings
-rw-r--r--libcrystfel/src/reax.c2
-rw-r--r--src/ambigator.c2
-rw-r--r--src/check_hkl.c4
-rw-r--r--src/compare_hkl.c2
-rw-r--r--src/hrs-scaling.c2
-rw-r--r--src/partial_sim.c2
-rw-r--r--src/process_image.c2
7 files changed, 8 insertions, 8 deletions
diff --git a/libcrystfel/src/reax.c b/libcrystfel/src/reax.c
index 4313b058..770084e1 100644
--- a/libcrystfel/src/reax.c
+++ b/libcrystfel/src/reax.c
@@ -176,7 +176,7 @@ static void add_candidate(struct reax_search_v *s, struct reax_candidate *c)
if ( s->n_cand == MAX_CANDIDATES ) {
if ( !s->max_warned ) {
- ERROR("Warning: Too many candidates.\n");
+ ERROR("WARNING: Too many candidates.\n");
s->max_warned = 1;
}
return;
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);
}