]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/BGB_upload
fixed a number of issues - grave bug in complement_seq!
[biopieces.git] / bp_bin / BGB_upload
index a88576cb50885be478a7e14816b7c0b660ab60ca..ba8b9d05685612bbd9a7d2174f4d1ae29f14a24f 100755 (executable)
@@ -121,7 +121,7 @@ else
 
     Maasha::Common::error( qq(Path not found: "$path") ) if not -d $path;
 
-    $dst_dir = Maasha::Filesys::dir_create( "$path/$options->{ 'genome' }" );
+    $dst_dir = Maasha::Filesys::dir_create_if_not_exists( "$path/$options->{ 'genome' }" );
     $dst_dir = Maasha::Filesys::dir_create( "$dst_dir/$options->{ 'assembly' }" );
 
     while ( $record = Maasha::Biopieces::get_record( $in ) )