aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-02-03 12:24:52 +0100
committerThomas White <taw@physics.org>2010-02-03 12:24:52 +0100
commitbb8cd0371f2cba96126112cbb720c2149c283c78 (patch)
tree9c3a7727e1f736b512618eee150688f513a08248 /src
parent7df59f9bc7acedb5f8aa01ad12f2f22d271a0f58 (diff)
Remove many debug messages
Diffstat (limited to 'src')
-rw-r--r--src/cell.c5
-rw-r--r--src/dirax.c5
-rw-r--r--src/peaks.c2
-rw-r--r--src/sfac.c10
4 files changed, 8 insertions, 14 deletions
diff --git a/src/cell.c b/src/cell.c
index a3fdc72a..0ccfd1f8 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -361,8 +361,6 @@ UnitCell *match_cell(UnitCell *cell, UnitCell *template)
&bsx, &bsy, &bsz,
&csx, &csy, &csz);
- STATUS("Performing unit cell magic...\n");
-
/* Negative values mean 1/n, positive means n, zero means zero */
for ( n1l=-4; n1l<=4; n1l++ ) {
for ( n2l=-4; n2l<=4; n2l++ ) {
@@ -394,9 +392,6 @@ UnitCell *match_cell(UnitCell *cell, UnitCell *template)
/* Test modulus for agreement with moduli of template */
for ( i=0; i<3; i++ ) {
if ( within_tolerance(lengths[i], tlen, ltl) ) {
- STATUS("sought %e, found %e (%e %e) for %i\n",
- lengths[i], tlen, 1.0/lengths[i],
- 1.0/tlen, i);
cand[i][ncand[i]].vec.u = tx;
cand[i][ncand[i]].vec.v = ty;
cand[i][ncand[i]].vec.w = tz;
diff --git a/src/dirax.c b/src/dirax.c
index 6b77d888..9220c8cb 100644
--- a/src/dirax.c
+++ b/src/dirax.c
@@ -54,7 +54,7 @@ static void dirax_parseline(const char *line, struct image *image)
if ( copy[i] == '\r' ) copy[i]='r';
if ( copy[i] == '\n' ) copy[i]='\0';
}
- STATUS("DirAx: %s\n", copy);
+ //STATUS("DirAx: %s\n", copy);
free(copy);
if ( strstr(line, "reflections from file") ) {
@@ -120,7 +120,7 @@ static void dirax_sendline(const char *line, struct image *image)
if ( copy[i] == '\r' ) copy[i]='\0';
if ( copy[i] == '\n' ) copy[i]='\0';
}
- STATUS("To DirAx: '%s'\n", copy);
+ //STATUS("To DirAx: '%s'\n", copy);
free(copy);
}
@@ -168,7 +168,6 @@ static void dirax_send_next(struct image *image)
default:
image->dirax_step = 0;
- STATUS("DirAx is idle\n");
g_main_loop_quit(image->dirax_ml);
return;
diff --git a/src/peaks.c b/src/peaks.c
index c38de8e9..5a95dd17 100644
--- a/src/peaks.c
+++ b/src/peaks.c
@@ -264,7 +264,7 @@ static void cull_peaks(struct image *image)
}
- STATUS("%i peaks eliminated\n", nelim);
+ //STATUS("%i peaks eliminated\n", nelim);
}
diff --git a/src/sfac.c b/src/sfac.c
index 5cf94fbf..3d6e5f72 100644
--- a/src/sfac.c
+++ b/src/sfac.c
@@ -303,8 +303,8 @@ static void centre_molecule(struct molecule *mol)
}
- STATUS("Molecule was shifted by %5.3f, %5.3f, %5.3f nm\n",
- mol->xc*1e9, mol->yc*1e9, mol->zc*1e9);
+ //STATUS("Molecule was shifted by %5.3f, %5.3f, %5.3f nm\n",
+ // mol->xc*1e9, mol->yc*1e9, mol->zc*1e9);
}
@@ -420,10 +420,10 @@ struct molecule *load_molecule()
centre_molecule(mol);
- STATUS("There are %i species\n", mol->n_species);
+ //STATUS("There are %i species\n", mol->n_species);
for ( i=0; i<mol->n_species; i++ ) {
- STATUS("%3s : %6i\n", mol->species[i]->species,
- mol->species[i]->n_atoms);
+ // STATUS("%3s : %6i\n", mol->species[i]->species,
+ // mol->species[i]->n_atoms);
}
return mol;