Skip to content

Commit

Permalink
Merge pull request #31 from carlacummins/master
Browse files Browse the repository at this point in the history
Fixed problem with unusual characters in filenames
  • Loading branch information
Carla Cummins committed Apr 24, 2014
2 parents 06ca29e + fa2ab43 commit 9c22c8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Bio/Tradis/RunTradis.pm
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ sub _plotname {
my ( $self, $seq_name ) = @_;
my $outfile = $self->outfile;

$seq_name =~ s/[^\w\d\.]/_/g;
my $plotfile_name = "$outfile.$seq_name.insert_site_plot.gz";
return $plotfile_name;
}
Expand Down

0 comments on commit 9c22c8b

Please sign in to comment.