Changeset 31941 for trunk/ippScripts
- Timestamp:
- Jul 27, 2011, 3:47:51 PM (15 years ago)
- Location:
- trunk/ippScripts/scripts
- Files:
-
- 3 edited
-
chip_imfile.pl (modified) (3 diffs)
-
diff_skycell.pl (modified) (3 diffs)
-
warp_skycell.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/chip_imfile.pl
r31905 r31941 44 44 my ( $exp_id, $chip_id, $class_id, $chip_imfile_id, $uri, $camera, $outroot, $dbname, $run_state, $reduction, $threads, $verbose, 45 45 $no_update, $save_temps, $no_op, $redirect, $magicked, $deburned ); 46 47 my $zaplog = 0; 48 46 49 GetOptions( 47 50 'exp_id=s' => \$exp_id, # Exposure identifier … … 62 65 'no-op' => \$no_op, # Don't do any operations? 63 66 'redirect-output' => \$redirect, 67 'zaplog' => \$zaplog, 64 68 'save-temps' => \$save_temps, # Save temporary files? 65 69 ) or pod2usage( 2 ); … … 90 94 my ($logDest, $traceDest); 91 95 if ($run_state eq 'new') { 92 $logDest = prepare_output("LOG.IMFILE", $outroot, $class_id, 0);96 $logDest = prepare_output("LOG.IMFILE", $outroot, $class_id, $zaplog); 93 97 $traceDest = prepare_output("TRACE.IMFILE", $outroot, $class_id, 1); 94 98 } else { -
trunk/ippScripts/scripts/diff_skycell.pl
r31435 r31941 40 40 my ($skycell_id, $diff_skyfile_id); 41 41 my ($use_convolved); 42 my $zaplog = 0; 43 42 44 GetOptions( 43 45 'diff_id=s' => \$diff_id, # Diff identifier … … 55 57 'no-op' => \$no_op, # Don't do any operations? 56 58 'redirect-output' => \$redirect, 59 'zaplog' => \$zaplog, # delete any previous log file 57 60 ) or pod2usage( 2 ); 58 61 … … 82 85 $logDest .= '.update'; 83 86 # ... well we can just do the dirty work here 87 $ipprc->kill_file($logDest); 88 } elsif ($zaplog) { 84 89 $ipprc->kill_file($logDest); 85 90 } -
trunk/ippScripts/scripts/warp_skycell.pl
r31570 r31941 38 38 39 39 my ($warp_id, $skycell_id, $warp_skyfile_id, $tess_dir, $reduction, $camera, $dbname, $outroot, $threads, $run_state, $magicked, $verbose, $no_update, $no_op, $redirect, $save_temps); 40 my $zaplog = 0; 41 40 42 GetOptions( 41 43 'warp_id|i=s' => \$warp_id, # Warp identifier … … 53 55 'no-update' => \$no_update, # Don't update the database? 54 56 'no-op' => \$no_op, # Don't do any operations? 57 'zaplog' => \$zaplog, # delete previous logfile 55 58 'redirect-output' => \$redirect, 56 59 'save-temps' => \$save_temps, # Save temporary files? … … 74 77 my $do_stats; 75 78 if ($run_state eq 'new') { 76 $logDest = prepare_output("LOG.EXP", $outroot, $skycell_id, 0);79 $logDest = prepare_output("LOG.EXP", $outroot, $skycell_id, $zaplog); 77 80 $traceDest = prepare_output("TRACE.EXP", $outroot, $skycell_id, 1); 78 81 $do_stats = 1;
Note:
See TracChangeset
for help on using the changeset viewer.
