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 /scripts | |
parent | 1f0987de8de5a1594623ab5d9fa24f1afe74dc93 (diff) |
Much better way of stripping the audit information out of hkl files
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/create-mtz | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/create-mtz b/scripts/create-mtz index 62d94405..add9f093 100755 --- a/scripts/create-mtz +++ b/scripts/create-mtz @@ -22,10 +22,7 @@ if [ -e $OUTFILE ]; then fi fi -ex -c '/End of reflections/ -.,$d -w create-mtz.temp.hkl -q!' $1 +sed -n '/End\ of\ reflections/q;p' $1 > create-mtz.temp.hkl echo "Running 'f2mtz'..." f2mtz HKLIN create-mtz.temp.hkl HKLOUT $OUTFILE > out.html << EOF |