aboutsummaryrefslogtreecommitdiff
path: root/tests/partialator_merge_check_1
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-05-11 11:28:50 +0200
committerThomas White <taw@physics.org>2018-05-11 11:28:50 +0200
commit9180b2820c83550d4faedf84b93fba2c75c55891 (patch)
tree90ac4d120b9e10b2a66969d0d9eb0a97f8bcf0b7 /tests/partialator_merge_check_1
parent1f0987de8de5a1594623ab5d9fa24f1afe74dc93 (diff)
Much better way of stripping the audit information out of hkl files
Diffstat (limited to 'tests/partialator_merge_check_1')
-rwxr-xr-xtests/partialator_merge_check_15
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/partialator_merge_check_1 b/tests/partialator_merge_check_1
index d39c2009..3c9d1661 100755
--- a/tests/partialator_merge_check_1
+++ b/tests/partialator_merge_check_1
@@ -46,9 +46,8 @@ 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
+sed -n '/End of reflections/q;p' partialator_merge_check_1.hkl > temp.hkl
+mv temp.hkl partialator_merge_check_1.hkl
diff partialator_merge_check_1.hkl partialator_merge_check_1_ans.hkl
if [ $? -ne 0 ]; then
exit 1