aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/partialator.c1
-rw-r--r--src/post-refinement.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 082b9fec..f5d1a210 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -649,7 +649,6 @@ static void write_to_pgraph(FILE *fh, RefList *list, RefList *full, Crystal *cr,
get_indices(refl, &h, &k, &l);
res = resolution(cell, h, k, l);
- if ( 2.0*res > crystal_get_resolution_limit(cr) ) continue;
match = find_refl(full, h, k, l);
if ( match == NULL ) continue;
diff --git a/src/post-refinement.c b/src/post-refinement.c
index bcef016c..01ba8b14 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -561,6 +561,9 @@ void write_specgraph(Crystal *crystal, const RefList *full,
signed int h, k, l;
Reflection *match;
+ /* Strong reflections only */
+ if ( get_intensity(refl) < 3.0*get_esd_intensity(refl) ) continue;
+
get_indices(refl, &h, &k, &l);
res = resolution(cell, h, k, l);