- Timestamp:
- Dec 24, 2011, 3:28:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/haf_add201112/ippScripts/scripts/addstar_run.pl
r33022 r33023 115 115 # it was PSASTRO.OUTPUT 116 116 117 my $fpaObjects; 117 my $fpaObjects = $ipprc->filename("PSASTRO.OUTPUT", $stageroot) or &my_die("Missing entry from camera config", $add_id, $PS_EXIT_CONFIG_ERROR); 118 118 119 if ($stage =~ /cam/) { 119 120 # if it is cam stage we need to be careful when grabbing the filename. … … 150 151 #is this cam_id magicked or not? 151 152 if ($magicked) { 152 $fpaObjects = $ipprc->destreak _filename("PSASTRO.OUTPUT", $stageroot) or &my_die("Missing entry from camera config", $add_id, $PS_EXIT_CONFIG_ERROR);153 $fpaObjects = $ipprc->destreaked_filename("$fpaObjects") or &my_die("Missing entry from camera config", $add_id, $PS_EXIT_CONFIG_ERROR); 153 154 print "cam_id is magicked, using $fpaObjects for the cam smf\n"; 154 155 } else { 155 156 $fpaObjects = $ipprc->filename("PSASTRO.OUTPUT", $stageroot) or &my_die("Missing entry from camera config", $add_id, $PS_EXIT_CONFIG_ERROR);157 156 print "cam_id is NOT magicked, using $fpaObjects for the cam smf\n"; 158 157 } 159 158 } 160 } else {161 # for non cam stages, grabe the file name like this:162 $fpaObjects = $ipprc->filename("PSASTRO.OUTPUT", $stageroot) or &my_die("Missing entry from camera config", $add_id, $PS_EXIT_CONFIG_ERROR);163 159 } 164 160 if (($stage =~/staticsky/) || ($stage =~/stack/)) {
Note:
See TracChangeset
for help on using the changeset viewer.
