From: martinahansen Date: Thu, 10 Dec 2009 14:15:13 +0000 (+0000) Subject: fixed bug in upload_to_bbrowser X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=047bc38dca2ea7e01d0895afd3fffee3d0489349;p=biopieces.git fixed bug in upload_to_bbrowser git-svn-id: http://biopieces.googlecode.com/svn/trunk@800 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_bin/upload_to_bbrowser b/bp_bin/upload_to_bbrowser index 4558ce4..43853c1 100755 --- a/bp_bin/upload_to_bbrowser +++ b/bp_bin/upload_to_bbrowser @@ -77,6 +77,8 @@ if ( $options->{ 'track_name' } ) { if ( $entry = Maasha::KISS::biopiece2kiss( $record ) ) { + $entry->{ 'S_ID' } = ( split " ", $entry->{ 'S_ID ' } )[ 0 ]; + if ( not exists $fh_hash{ $entry->{ 'S_ID' } } ) { $fh_hash{ $entry->{ 'S_ID' } } = Maasha::Filesys::file_write_open( "$tmp_dir/$entry->{ 'S_ID' }" ); }