diff options
author | Thomas White <taw@physics.org> | 2018-05-11 11:28:50 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-05-11 11:28:50 +0200 |
commit | 9180b2820c83550d4faedf84b93fba2c75c55891 (patch) | |
tree | 90ac4d120b9e10b2a66969d0d9eb0a97f8bcf0b7 /tests/partialator_merge_check_3 | |
parent | 1f0987de8de5a1594623ab5d9fa24f1afe74dc93 (diff) |
Much better way of stripping the audit information out of hkl files
Diffstat (limited to 'tests/partialator_merge_check_3')
-rwxr-xr-x | tests/partialator_merge_check_3 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/partialator_merge_check_3 b/tests/partialator_merge_check_3 index 08f9f481..5370472d 100755 --- a/tests/partialator_merge_check_3 +++ b/tests/partialator_merge_check_3 @@ -53,9 +53,8 @@ src/partialator -i partialator_merge_check_3.stream \ --model=unity --iterations=1 -y 4 --no-polarisation \ --no-free -ex -c '/End of reflections/ -.,$d -x' partialator_merge_check_3.hkl +sed -n '/End\ of\ reflections/q;p' partialator_merge_check_3.hkl > temp.hkl +mv temp.hkl partialator_merge_check_3.hkl diff partialator_merge_check_3.hkl partialator_merge_check_3_ans.hkl if [ $? -ne 0 ]; then exit 1 |