]> git.donarmstrong.com Git - biopieces.git/commitdiff
fixed bug in upload_to_bbrowser
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 10 Dec 2009 14:15:13 +0000 (14:15 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 10 Dec 2009 14:15:13 +0000 (14:15 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@800 74ccb610-7750-0410-82ae-013aeee3265d

bp_bin/upload_to_bbrowser

index 4558ce4782c990e242b898fb29032ebdecbf3df4..43853c17ad3ce4aa008b6210460ca0c9c6860fff 100755 (executable)
@@ -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' }" );
             }