IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 19, 2010, 2:29:48 PM (16 years ago)
Author:
bills
Message:

output the bothways status of a run from magicdstool -torevert and
pass the value to magic_destreak_revert.pl

File:
1 edited

Legend:

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

    r26976 r27015  
    3636
    3737# Parse the command-line arguments
    38 my ($magic_ds_id, $camera, $streaks, $stage, $stage_id, $component, $uri, $path_base, $inverse, $cam_path_base);
     38my ($magic_ds_id, $camera, $streaks, $stage, $stage_id, $component, $uri, $path_base, $bothways, $cam_path_base);
    3939my ($outroot, $recoveryroot, $replace, $release, $bytes, $md5sum);
    4040my ($dbname, $save_temps, $verbose, $no_update, $no_op, $logfile);
     
    5151           'recoveryroot=s' => \$recoveryroot,# "directory" for saving the images of excised pixels
    5252           'replace=s'      => \$replace,    # replace the input images with the results.
     53           'bothways=s'     => \$bothways,   # run has inverse files (bothways diff)
    5354           'save-temps'     => \$save_temps, # Save temporary files?
    5455           'dbname=s'       => \$dbname,     # Database name
     
    193194revert_files($replace, $image, $mask, $weight, $sources, $astrom, $bimage, $bmask, $bweight, $bsources, $bastrom);
    194195
    195 if ($stage eq "diff" and $inverse) {
     196if ($stage eq "diff" and $bothways) {
    196197    my $name = "PPSUB.INVERSE";
    197198    $image  = $ipprc->filename($name, $path_base);
Note: See TracChangeset for help on using the changeset viewer.