IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 12, 2009, 4:07:48 PM (17 years ago)
Author:
Paul Price
Message:

Reworking magic (and some diff) to be ready for performing magic on warp-warp diffs. Several database changes to diff and magic tables because we can no longer assume that a diff is associated with a single exposure. Ready for testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_magic/ippScripts/scripts/magic_definerun.pl

    r23186 r24149  
    164164&my_die("failed to retrieve new magic run information", $PS_EXIT_CONFIG_ERROR) if !$magic_id;
    165165
     166### This is left over from when diffs were composed of a single skycell
     167### When we're not too busy, it should be deleted in favour of:
     168### magicRun JOIN diffSkyfile USING(diff_id) WHERE diffSkyfile.fault = 0 AND diffSkyfile.quality = 0
    166169foreach my $diff_skyfile (@$inputs) {
    167170    my $skycell_id = $diff_skyfile->{skycell_id};
     
    171174    }
    172175    my $diff_id = $diff_skyfile->{diff_id};
    173     my $command = "$magictool -addinputskyfile -magic_id $magic_id -diff_id $diff_id";
    174     $command .= "  -node $skycell_id";
     176    my $command = "$magictool -addinputskyfile";
     177    $command .= " -magic_id $magic_id";
     178    $command .= " -node $skycell_id";
    175179    $command .= " -dbname $dbname" if $dbname;
    176180
Note: See TracChangeset for help on using the changeset viewer.