From 3112613123dda7a0264264be464111bb3f18c79f Mon Sep 17 00:00:00 2001 From: martinahansen Date: Tue, 3 Jan 2012 14:24:42 +0000 Subject: [PATCH] fixed issue in compute git-svn-id: http://biopieces.googlecode.com/svn/trunk@1720 74ccb610-7750-0410-82ae-013aeee3265d --- bp_bin/compute | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bp_bin/compute b/bp_bin/compute index 52ef66d..1c5c258 100755 --- a/bp_bin/compute +++ b/bp_bin/compute @@ -65,7 +65,7 @@ while ( $record = Maasha::Biopieces::get_record( $in ) ) map { $eval_val =~ s/\Q$_\E/$record->{ $_ }/g } @keys; - if ( $eval_val !~ /\s/) + if ( $eval_val !~ /\s+[+\-\*]{1,2}\s+/) { $record->{ $eval_key } = $eval_val; } -- 2.39.5