diff options
Diffstat (limited to 'vest/dist-vest.pl')
-rwxr-xr-x | vest/dist-vest.pl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/vest/dist-vest.pl b/vest/dist-vest.pl index f81a74a3..666509e3 100755 --- a/vest/dist-vest.pl +++ b/vest/dist-vest.pl @@ -211,6 +211,10 @@ my $lastPScore = 0; while (1){ print STDERR "\n\nITERATION $iteration\n==========\n"; + if ($iteration > $max_iterations){ + print STDERR "\nREACHED STOPPING CRITERION: Maximum iterations\n"; + last; + } # iteration-specific files my $runFile="$dir/run.raw.$iteration"; my $onebestFile="$dir/1best.$iteration"; @@ -219,6 +223,7 @@ while (1){ my $scorerLog="$logdir/scorer.log.$iteration"; `mkdir -p $logdir`; + #decode print STDERR "DECODE\n"; print STDERR `date`; @@ -244,10 +249,6 @@ while (1){ `gzip $runFile`; `gzip $decoderLog`; - if ($iteration > $max_iterations){ - print STDERR "\nREACHED STOPPING CRITERION: Maximum iterations\n"; - last; - } # run optimizer print STDERR `date`; |