Skip to content

Commit

Permalink
bug fixes again
Browse files Browse the repository at this point in the history
  • Loading branch information
jerowe committed Jul 6, 2017
1 parent c7c1e8e commit 16d7b2e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions lib/BioX/Workflow/Command/run/Utils/Files/TrackChanges.pm
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@ sub walk_FILES {
$self->pre_FILES( $attr, 'INPUT' );
$self->add_graph('INPUT');
$self->clear_files;
$self->files([]);

$self->pre_FILES( $attr, 'OUTPUT' );
$self->add_graph('OUTPUT');
$self->clear_files;
$self->files([]);
}

sub pre_FILES {
Expand Down
8 changes: 4 additions & 4 deletions lib/BioX/Workflow/Command/stats.pm
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,13 @@ sub gen_row {

my $rel = '';
$rel = $file;
$rel = path($file)->absolute if $self->use_full;
$rel = path($file)->absolute if $self->use_abs;

my $basename = basename($file) unless $self->use_full;
my $basename = basename($file) unless $self->use_abs;

#Add the filename
push( @trow, $rel ) if $self->use_full;
push( @trow, $basename ) if !$self->use_full;
push( @trow, $rel ) if $self->use_abs;
push( @trow, $basename ) if !$self->use_abs;

#Does the file exist?
if ( -e $file ) {
Expand Down

0 comments on commit 16d7b2e

Please sign in to comment.