IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28087


Ignore:
Timestamp:
May 25, 2010, 9:05:56 AM (16 years ago)
Author:
rhenders
Message:

Cosmetic stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/scripts/ippToPsps_run.pl

    r28084 r28087  
    105105    my $lastExpId = getLastExpId();
    106106
     107    print "*******************************************************************************\n*\n";
    107108    print "* Last successfully processed exposure ID was $lastExpId\n";
    108109
     
    146147    my $batchId = 0;
    147148    my $batchesPerJob = 1;
    148 
    149     print "*******************************************************************************\n*\n";
    150 
    151149    my $anyBatches = 0;
    152 
    153150
    154151    $query->execute;
     
    243240sub getLastExpId {
    244241
    245     return `tail $logFile -n 1 | awk '{print \$2}'`;
     242    my $lastExpId = `tail $logFile -n 1 | awk '{print \$2}'`;
     243    chomp($lastExpId);
     244    return $lastExpId;
    246245}
    247246
     
    262261    close (MYFILE);
    263262
    264     if ($verbose) { print "* Current jobId = $jobId\n"; }
    265263    $jobId++;
    266     if ($verbose) { print "* New jobId = $jobId\n"; }
    267264
    268265    open (MYFILE, "> $jobIdFilePath");
Note: See TracChangeset for help on using the changeset viewer.