IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39491 for trunk


Ignore:
Timestamp:
Mar 29, 2016, 2:43:58 PM (10 years ago)
Author:
heather
Message:

changes to the premerge script: delstar no longer runs (was doing the wrong thing for diffs)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/minidvodb_premerge.pl

    r39317 r39491  
    8585        #this is chopped into several parts: delstar,addstar, relphot, relastro, dvoverify
    8686        #delstar - first step: are there duplicates, if so remove them
    87         {
    88             my $command  = "$delstar -update -dup-images  -skip-diff-pairs";
    89             #$command .= " -D CAMERA $camera";
    90             $command .= " -D CATDIR $minidvodb";
    91                         my $mjd_delstar_start = DateTime->now->mjd;   # MJD of starting script
    92             print "\n$command\n";
    93             my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    94                 run(command => $command, verbose => $verbose);
    95             unless ($success) {
    96                 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
    97                 &my_die("Unable to perform delstar: $error_code", $minidvodb_id, $error_code);
    98             }
    99             print $full_buf;
    100             $dtime_delstar = 86400.0*(DateTime->now->mjd - $mjd_delstar_start); 
     87#       {
     88#            my $command  = "$delstar -update -dup-images  -skip-diff-pairs";
     89#            $command .= " -D CATDIR $minidvodb";
     90#                        my $mjd_delstar_start = DateTime->now->mjd;   # MJD of starting script
     91#           print "\n$command\n";
     92#            my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     93#                run(command => $command, verbose => $verbose);
     94#            unless ($success) {
     95#                $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
     96#                &my_die("Unable to perform delstar: $error_code", $minidvodb_id, $error_code);
     97#            }
     98#           print $full_buf;
     99#            $dtime_delstar = 86400.0*(DateTime->now->mjd - $mjd_delstar_start); 
    101100            # MJD of starting script
    102             print "delstar time $dtime_delstar\n";
    103         }
     101#           print "delstar time $dtime_delstar\n";
     102#        }
    104103
    105104
Note: See TracChangeset for help on using the changeset viewer.