Changeset 28581
- Timestamp:
- Jul 1, 2010, 3:16:35 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
Nebulous/bin/neb-ls (modified) (3 diffs)
-
ippScripts/scripts/automate_stacks.pl (modified) (3 diffs)
-
ippconfig/recipes/nightly_science.config (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/bin/neb-ls
r28525 r28581 17 17 $server, 18 18 $path, 19 $ls, 19 20 $column, 20 21 ); … … 26 27 'server|s=s' => \$server, 27 28 'path|p' => \$path, 29 'l' => \$ls, 28 30 'column|c' => \$column, 29 31 ) || pod2usage( 2 ); … … 61 63 @{ $keys } = @files; 62 64 } 65 if ($ls) { 66 my @files; 67 foreach my $key (@{ $keys }) { 68 my $uris = `ls -al $key`; 69 chomp($uris); 70 if (defined $uris) { 71 push @files, $uris; 72 } 73 } 74 @{ $keys } = @files; 75 } 63 76 if ($keys) { 64 77 if ($column) { -
trunk/ippScripts/scripts/automate_stacks.pl
r28554 r28581 21 21 my $stacktool= can_run('stacktool') or (warn "Can't find stacktool" and $missing_tools = 1); 22 22 my $difftool = can_run('difftool') or (warn "Can't find difftool" and $missing_tools = 1); 23 my $magicdstool = can_run('magicdstool') or (warn "Can't find magicdstool" and $missing_tools = 1); 23 24 my $dettool = can_run('dettool') or (warn "Can't find dettool" and $missing_tools = 1); 24 25 my $ppConfigDump = can_run('ppConfigDump') or (warn "Can't find ppConfigDump" and $missing_tools = 1); … … 1023 1024 my ($label,$workdir,$obs_mode,$object,$comment,$tess_id,$dist_group,$data_group,$reduction) = get_tool_parameters($cleaning_date,$target); 1024 1025 my $args = $command; 1025 if ((exists($clean_alternate{$mode})) && ($clean_alternate{$mode} )) {1026 if ((exists($clean_alternate{$mode})) && ($clean_alternate{$mode} eq 'A')) { 1026 1027 $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 "; 1027 1031 } 1028 1032 else { … … 1040 1044 1041 1045 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')) { 1043 1047 my ($cleaning_date,$command) = construct_cleantool_args($date,"",$mode); 1044 1048 if ($cleaning_date eq 'no clean') { -
trunk/ippconfig/recipes/nightly_science.config
r28427 r28581 6 6 COMMAND STR chiptool 7 7 RETENTION_TIME U16 30 8 ALTERNATE_CMD BOOL F9 8 END 10 9 CLEAN_MODES METADATA … … 12 11 COMMAND STR warptool 13 12 RETENTION_TIME U16 7 14 ALTERNATE_CMD BOOL F15 13 END 16 14 CLEAN_MODES METADATA … … 19 17 # RETENTION_TIME U16 30 20 18 RETENTION_TIME S16 -1 21 ALTERNATE_CMD BOOL F22 19 END 23 20 CLEAN_MODES METADATA 24 21 MODE STR DIST 25 COMMAND STR disttool 22 COMMAND STR disttool - 26 23 RETENTION_TIME S16 7 27 ALTERNATE_CMD BOOL T 24 ALTERNATE_CMD STR A 25 END 26 CLEAN_MODES METADATA 27 MODE STR MAGICDS 28 COMMAND STR magicdstool 29 RETENTION_TIME S16 1 30 ALTERNATE_CMD STR B 28 31 END 29 32
Note:
See TracChangeset
for help on using the changeset viewer.
