aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-12-14 08:41:25 +0100
committerThomas White <taw@physics.org>2014-12-14 08:41:25 +0100
commitc5311b8e7a3f38c0fcaf16f25a38fa9339e5eee8 (patch)
tree0082cfd502fba78c942f480c15d24ca42faf626e /scripts
parent08dbb8989c5ae560684aba060e5dc8f9235580b6 (diff)
Fix chekc-near-bragg (again)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-near-bragg4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/check-near-bragg b/scripts/check-near-bragg
index 10a7549b..4077c6e2 100755
--- a/scripts/check-near-bragg
+++ b/scripts/check-near-bragg
@@ -39,6 +39,10 @@ while ( $line = <FH> ) {
$handled = 1;
}
+ if ( $line =~ /^Event:\ (.+)$/ ) {
+ $event = $1;
+ }
+
if ( $line =~ /^End\ of\ reflections$/ ) {
close(TMP);