From: martinahansen Date: Wed, 18 Apr 2012 07:28:38 +0000 (+0000) Subject: fixed x bug in compute X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ef6d0a089fb692b704c6ff0472c9c412cf7fdead;p=biopieces.git fixed x bug in compute git-svn-id: http://biopieces.googlecode.com/svn/trunk@1796 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_bin/compute b/bp_bin/compute index 1c5c258..8a58659 100755 --- a/bp_bin/compute +++ b/bp_bin/compute @@ -64,8 +64,7 @@ while ( $record = Maasha::Biopieces::get_record( $in ) ) map { $eval_val =~ s/\Q$_\E/$record->{ $_ }/g } @keys; - - if ( $eval_val !~ /\s+[+\-\*]{1,2}\s+/) + if ( $eval_val !~ /\s+[+\-\*x]{1,2}\s+/) { $record->{ $eval_key } = $eval_val; }