IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28581 for trunk/ippScripts


Ignore:
Timestamp:
Jul 1, 2010, 3:16:35 PM (16 years ago)
Author:
watersc1
Message:

Update to automation cleanups to queue magic destreak cleanups.

Added -l option to neb-ls which passes the files to ls -al to look at permissions and sizes.

File:
1 edited

Legend:

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

    r28554 r28581  
    2121my $stacktool= can_run('stacktool') or (warn "Can't find stacktool" and $missing_tools = 1);
    2222my $difftool = can_run('difftool') or (warn "Can't find difftool" and $missing_tools = 1);
     23my $magicdstool = can_run('magicdstool') or (warn "Can't find magicdstool" and $missing_tools = 1);
    2324my $dettool = can_run('dettool') or (warn "Can't find dettool" and $missing_tools = 1);
    2425my $ppConfigDump = can_run('ppConfigDump') or (warn "Can't find ppConfigDump" and $missing_tools = 1);
     
    10231024    my ($label,$workdir,$obs_mode,$object,$comment,$tess_id,$dist_group,$data_group,$reduction) = get_tool_parameters($cleaning_date,$target);
    10241025    my $args = $command;
    1025     if ((exists($clean_alternate{$mode})) && ($clean_alternate{$mode})) {
     1026    if ((exists($clean_alternate{$mode})) && ($clean_alternate{$mode} eq 'A')) {
    10261027        $args .= " -dbname $dbname -updaterun -set_state goto_cleaned -full -set_label goto_cleaned -time_stamp_end $cleaning_date ";
     1028    }
     1029    elsif ((exists($clean_alternate{$mode})) && ($clean_alternate{$mode} eq 'B')) {
     1030        $args .= " -dbname $dbname -updaterun -set_state goto_cleaned -state full -set_label goto_cleaned -label $label ";
    10271031    }
    10281032    else {
     
    10401044
    10411045    foreach my $mode (sort (keys (%clean_commands))) {
    1042         if ((exists($clean_alternate{$mode})) && ($clean_alternate{$mode})) {
     1046        if ((exists($clean_alternate{$mode})) && ($clean_alternate{$mode} eq 'A')) {
    10431047            my ($cleaning_date,$command) = construct_cleantool_args($date,"",$mode);
    10441048            if ($cleaning_date eq 'no clean') {
Note: See TracChangeset for help on using the changeset viewer.