aboutsummaryrefslogtreecommitdiff
path: root/tests/partialator_merge_check_1
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2016-08-17 10:23:03 +0200
committerThomas White <taw@physics.org>2016-08-17 10:23:03 +0200
commitc4a7aafe128a2550453bc8e091550ffa52ab2e43 (patch)
tree654cd958ee662bbb60cc83364c98501fb128576d /tests/partialator_merge_check_1
parentf31e48d223e637f7ef155846f6e4b2cab2a7d4cc (diff)
Update tests to handle audit lines at end of reflection lists
Diffstat (limited to 'tests/partialator_merge_check_1')
-rwxr-xr-xtests/partialator_merge_check_14
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/partialator_merge_check_1 b/tests/partialator_merge_check_1
index 6ff190ea..d39c2009 100755
--- a/tests/partialator_merge_check_1
+++ b/tests/partialator_merge_check_1
@@ -40,13 +40,15 @@ CrystFEL reflection list version 2.0
Symmetry: 1
h k l I phase sigma(I) nmeas
1 0 0 150.00 - 35.36 2
-End of reflections
EOF
src/partialator -i partialator_merge_check_1.stream \
-o partialator_merge_check_1.hkl \
--model=unity --iterations=0 --no-scale --no-polarisation
+ex -c '/End of reflections/
+.,$d
+x' partialator_merge_check_1.hkl
diff partialator_merge_check_1.hkl partialator_merge_check_1_ans.hkl
if [ $? -ne 0 ]; then
exit 1