From: martinahansen Date: Tue, 3 Jan 2012 14:24:42 +0000 (+0000) Subject: fixed issue in compute X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3112613123dda7a0264264be464111bb3f18c79f;p=biopieces.git fixed issue in compute git-svn-id: http://biopieces.googlecode.com/svn/trunk@1720 74ccb610-7750-0410-82ae-013aeee3265d --- 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; }