IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21006


Ignore:
Timestamp:
Dec 15, 2008, 4:08:52 PM (17 years ago)
Author:
bills
Message:

changes for new schema (this script is now only necessary to build magic runs
from collectoins of old style diffRuns)

File:
1 edited

Legend:

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

    r20823 r21006  
    110110print "$num_skyfiles skyfiles found for $exp_id\n" if $verbose;
    111111
     112my $diff_id_for_run;
    112113if ($warp_id or $min_diff_id) {
    113114    # filter the inputs
     
    118119
    119120        if ($warp_id) {
    120             if ($warp_id ne $sf->{warp_id_temp_0}) {;
     121            if ($warp_id ne $sf->{warp1}) {;
    121122                $keep = 0;
    122123            }
     
    129130        if ( $keep) {
    130131            $i++;
     132            $diff_id_for_run = $sf->{diff_id} if !$diff_id_for_run;
    131133        } else {
    132134            # remove it
     
    146148{
    147149    my $command = "$magictool -definerun -exp_id $exp_id -workdir $workdir -simple";
     150    $command .= " -diff_id $diff_id_for_run" if defined $diff_id_for_run;
    148151    $command .= " -label $label" if defined $label;
    149152    $command .= " -dbname $dbname" if defined $dbname;
Note: See TracChangeset for help on using the changeset viewer.