Skip to content

Commit

Permalink
Merge pull request #10 from carlacummins/master
Browse files Browse the repository at this point in the history
Bug fix in file existance check

Former-commit-id: c17458c
  • Loading branch information
Carla Cummins committed Aug 20, 2013
2 parents ee8ea2d + c7553fc commit 8aaf7a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Bio/Tradis/CommandLine/TradisAnalysis.pm
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ sub run {
my $fq = $self->fastqfile;
open( FILES, "<", $fq );
my @filelist = <FILES>;
my $file_dir = $self->get_file_dir;
my $file_dir = "";
unless($fq =~ /^\//){$file_dir = $self->get_file_dir;}
#check files exist before running
my $line_no = 0;
foreach my $f1 (@filelist){
Expand Down

0 comments on commit 8aaf7a3

Please sign in to comment.