Changeset 16331 for trunk/ippScripts/scripts/magic_tree.pl
- Timestamp:
- Feb 5, 2008, 6:04:27 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/magic_tree.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/magic_tree.pl
r15689 r16331 44 44 45 45 # Parse the command-line arguments 46 my ($magic_id, $tess_id, $camera, $ra0, $dec0, $dbname, $workdir, $save_temps, $ no_update, $no_op);46 my ($magic_id, $tess_id, $camera, $ra0, $dec0, $dbname, $workdir, $save_temps, $verbose, $no_update, $no_op); 47 47 GetOptions( 48 48 'magic_id=s' => \$magic_id, # Magic identifier … … 54 54 'workdir=s' => \$workdir, # Working directory, for output files 55 55 'save-temps' => \$save_temps, # Save temporary files? 56 'verbose' => \$verbose, # Print stuff? 56 57 'no-update' => \$no_update, # Don't update the database? 57 58 'no-op' => \$no_op, # Don't do any operations? … … 88 89 $command .= " -dbname $dbname" if defined $dbname; 89 90 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 90 run(command => $command, verbose => 1);91 run(command => $command, verbose => $verbose); 91 92 unless ($success) { 92 93 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); … … 105 106 } 106 107 107 generate_skycells($ipprc, $tess_id, \@skycells, $workdir ) or108 generate_skycells($ipprc, $tess_id, \@skycells, $workdir, $verbose) or 108 109 &my_die("Unable to generate skycells", $magic_id, $PS_EXIT_PROG_ERROR); 109 110 … … 213 214 unless ($no_update) { 214 215 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 215 run(command => $command, verbose => 1);216 run(command => $command, verbose => $verbose); 216 217 unless ($success) { 217 218 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.
