IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34715 for trunk


Ignore:
Timestamp:
Nov 27, 2012, 11:52:11 AM (14 years ago)
Author:
bills
Message:

changes to destreak camera restore

Location:
trunk
Files:
2 edited

Legend:

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

    r34429 r34715  
    440440    }
    441441
     442    my $backup_url = shift;
    442443    my $original_url = shift;
    443     my $backup_url = shift;
    444444
    445445    # rename the backup as the orig
     
    449449    my $moved;
    450450    eval {
    451         $moved = nebulous->move($backup_url, $original_url);
     451        $moved = $nebulous->move($backup_url, $original_url);
    452452    };
    453453    if ($@ or not $moved) {
  • trunk/ippTools/share/magicdstool_torevert_camera.sql

    r30668 r34715  
    2323    JOIN rawExp using(exp_id)
    2424WHERE magicDSRun.stage = 'camera'
     25    AND camProcessedExp.fault = 0
     26    AND camRun.state = 'full'
    2527    AND ((magicDSRun.state = 'new' AND magicDSFile.fault > 0)
    2628         OR ((magicDSRun.state = 'goto_censored' OR magicDSRun.state = 'goto_restored')
Note: See TracChangeset for help on using the changeset viewer.