Changeset 35957 for trunk/ippScripts/scripts/dist_bundle.pl
- Timestamp:
- Aug 15, 2013, 2:41:50 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/dist_bundle.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/dist_bundle.pl
r35117 r35957 53 53 'PPSTACK.OUTPUT.MASK' => 'mask', 54 54 'PPSTACK.OUTPUT.VARIANCE' => 'variance' ); 55 my %sky_cleaned = ( 'PSPHOT.STACK.OUTPUT.IMAGE' => 'image', 56 'PSPHOT.STACK.OUTPUT.MASK' => 'mask', 57 'PSPHOT.STACK.OUTPUT.VARIANCE' => 'variance' ); 55 my %sky_cleaned = (); 56 my %skycal_cleaned = (); 58 57 59 58 … … 110 109 defined $outroot; 111 110 111 $no_magic = 1; 112 112 113 if ($stage eq 'raw' and !$clean and !$no_magic) { 113 114 … … 462 463 } elsif ($stage eq "sky") { 463 464 $type = $sky_cleaned{$rule}; 465 } elsif ($stage eq "skycal") { 466 $type = $skycal_cleaned{$rule}; 464 467 } else { 465 468 &my_die("$stage is not a valid stage", $component, $PS_EXIT_CONFIG_ERROR); … … 546 549 $config_file_rule = "PPSTACK.CONFIG"; 547 550 } elsif ($stage eq "sky") { 548 if (1 or $num_sky_inputs > 1) { 549 $config_file_rule = "PSPHOT.STACK.CONFIG"; 550 } else { 551 $config_file_rule = "PSPHOT.SKY.CONFIG"; 552 } 551 $config_file_rule = "PSPHOT.STACK.CONFIG"; 552 } elsif ($stage eq "skycal") { 553 $config_file_rule = "PSASTRO.CONFIG"; 553 554 } else { 554 555 &my_die("$stage is not a valid stage", $component, $PS_EXIT_CONFIG_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.
