Skip to content

Commit

Permalink
Fixed problem with unusual characters in filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
Carla Cummins committed Apr 24, 2014
1 parent 471dff4 commit fa2ab43
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 fa2ab43

Please sign in to comment.