Skip to content

Commit

Permalink
Merge branch 'master' of github.com:bystrogenomics/bystro
Browse files Browse the repository at this point in the history
  • Loading branch information
akotlar committed Oct 24, 2024
2 parents e726f71 + 34f6fa0 commit ea9470e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion perl/dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ finder = :ExecFiles

[Test::EOL]
[Test::EOF]
strict = 1
strict = 0

[Test::MinimumVersion]

Expand Down
6 changes: 6 additions & 0 deletions perl/lib/Seq.pm
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,12 @@ sub _preparePreprocessorProgram {

my $basename = path($inPath)->basename;

# Remove all non-alphanumeric characters to make sure
# the shell/bash command doens't crash
$basename =~ s/[^a-zA-Z0-9-_]/_/g;

$inPath = quotemeta($inPath);

my $errPath = $self->_workingDir->child( $basename . '.file-log.log' );

#cat is wasteful, but we expect no one reads large uncompressed files
Expand Down

0 comments on commit ea9470e

Please sign in to comment.