Changeset 28454 for branches/pap/ippScripts/scripts/background_chip.pl
- Timestamp:
- Jun 24, 2010, 11:18:44 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/ippScripts/scripts/background_chip.pl
r28441 r28454 41 41 42 42 # Parse the command-line arguments 43 my ( $chip_bg_id, $c hip_id, $class_id, $camera, $outroot, $dbname, $reduction, $verbose,43 my ( $chip_bg_id, $class_id, $camera, $outroot, $dbname, $reduction, $verbose, 44 44 $no_update, $save_temps, $no_op, $redirect, $deburned ); 45 45 GetOptions( 46 46 'chip_bg_id=s' => \$chip_bg_id, # chipBackgroundRun identifier 47 'chip_id=s' => \$chip_id, # chipRun identifier48 47 'class_id=s' => \$class_id, # Class identifier 49 48 'camera|c=s' => \$camera, # Camera … … 59 58 60 59 pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV; 61 pod2usage( -msg => "Required options: -- exp_id --chip_id --chip_imfile_id --class_id --uri --camera --outroot --run-state",60 pod2usage( -msg => "Required options: --chip_bg_id --class_id --camera --outroot", 62 61 -exitval => 3) unless 63 62 defined $chip_bg_id and 64 defined $chip_id and65 63 defined $class_id and 66 64 defined $camera and … … 237 235 238 236 carp($msg); 239 if (defined $chip_ id and defined $class_id and not $no_update) {237 if (defined $chip_bg_id and defined $class_id and not $no_update) { 240 238 my $command = "$bgtool -addchip"; 241 239 $command .= " -chip_bg_id $chip_bg_id";
Note:
See TracChangeset
for help on using the changeset viewer.
