From 047bc38dca2ea7e01d0895afd3fffee3d0489349 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Thu, 10 Dec 2009 14:15:13 +0000 Subject: [PATCH] fixed bug in upload_to_bbrowser git-svn-id: http://biopieces.googlecode.com/svn/trunk@800 74ccb610-7750-0410-82ae-013aeee3265d --- bp_bin/upload_to_bbrowser | 2 ++ 1 file changed, 2 insertions(+) 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' }" ); } -- 2.39.5