Skip to content

Commit

Permalink
Correct undeclared variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Jones committed Oct 12, 2017
1 parent 82031cb commit c561f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perl/lib/Sanger/CGP/Tophat/Implement.pm
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ sub tophatfusion_post {
PCAP::Threaded::external_process_handler(File::Spec->catdir($tmp, 'logs'), $command, 0);

#If the output is empty, ensure that it passes further checks by adding ##EOF## to the file.
$output_post = $post_rundir.'/result.txt';
my $output_post = $post_rundir.'/result.txt';
if(-s $output_post == 0){
system("echo '##EOF##' > $output_post") && die "An error occurred: $!";
}
Expand Down

0 comments on commit c561f81

Please sign in to comment.