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 ) )