aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-05-19 16:51:19 +0200
committerThomas White <taw@physics.org>2015-05-19 16:51:19 +0200
commit80d0c1064bb7a00fae458211ab9429cb6c1ed4cc (patch)
tree8f859dcfc2223a76c503dbf97f889d90d7f44edd /src/partialator.c
parentf62d8b73042b783c36e823eba2beb1427962e5ce (diff)
Exclude bad crystals from pobs/pcalc graph
Diffstat (limited to 'src/partialator.c')
-rw-r--r--src/partialator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 3f06ff73..dc0d647f 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -418,6 +418,7 @@ static void write_pgraph(RefList *full, Crystal **crystals, int n_crystals,
fprintf(fh, " fr h k l 1/d(nm) pcalc pobs\n");
for ( i=0; i<n_crystals; i++ ) {
+ if ( crystal_get_user_flag(crystals[i]) != 0 ) continue;
write_to_pgraph(fh, crystal_get_reflections(crystals[i]), full,
crystals[i], i);
}