Skip to content

Commit

Permalink
fix to deal properly with list of commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Juke34 committed Feb 27, 2020
1 parent cc1f852 commit 6a27158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion annotation/NBIS/Grid/GridRunner.pm
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ sub BUILD {
# --------- write commands listing ------------
open (my $fh, ">$log_dir/cmds_list.txt") or die $!;
my $index = 0;
foreach my $cmd ($self->cmds_list) {
foreach my $cmd (@{$self->cmds_list}) {
print $fh "index($index)\t$cmd\n";
$index++;
}
Expand Down

0 comments on commit 6a27158

Please sign in to comment.