From 9180b2820c83550d4faedf84b93fba2c75c55891 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 11 May 2018 11:28:50 +0200 Subject: Much better way of stripping the audit information out of hkl files --- scripts/create-mtz | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'scripts/create-mtz') 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 -- cgit v1.2.3