Changeset 27589 for trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
- Timestamp:
- Apr 3, 2010, 11:14:40 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
r27439 r27589 170 170 my $inverse = $option_mask & $PSTAMP_SELECT_INVERSE; 171 171 my $unconvolved = $option_mask & $PSTAMP_SELECT_UNCONV; 172 my $use_imfile_id = ($req_type eq "byid") && ($option_mask & $PSTAMP_USE_IMFILE_ID); 172 173 173 174 my $missing_tools; … … 209 210 # are stamps of detrend exposures interesting? 210 211 $command .= " -exp_type object"; 211 $id_opt = "-exp_id";212 $id_opt = $use_imfile_id ? "-raw_imfile_id" : "-exp_id"; 212 213 $component_args = " -class_id $class_id" if $component; 213 214 $want_astrom = 1; … … 217 218 $command = "$chiptool -processedimfile -dbname $image_db"; 218 219 $component_args = " -class_id $class_id" if $class_id; 219 $id_opt = "-chip_id";220 $id_opt = $use_imfile_id ? "-chip_imfile_id" : "-chip_id"; 220 221 $image_name = "PPIMAGE.CHIP"; 221 222 $mask_name = "PPIMAGE.CHIP.MASK"; … … 231 232 $command = "$warptool -warped -dbname $image_db"; 232 233 $component_args = " -skycell_id $skycell_id" if $skycell_id; 233 $id_opt = "-warp_id";234 $id_opt = $use_imfile_id ? "-warp_skyfile_id" : "-warp_id"; 234 235 $image_name = "PSWARP.OUTPUT"; 235 236 $mask_name = "PSWARP.OUTPUT.MASK"; … … 242 243 $command = "$difftool -diffskyfile -dbname $image_db"; 243 244 $component_args = " -skycell_id $skycell_id" if $skycell_id; 244 $id_opt = "-diff_id";245 $id_opt = $use_imfile_id ? "-diff_skyfile_id" : "-diff_id"; 245 246 $image_name = "PPSUB.OUTPUT"; 246 247 $mask_name = "PPSUB.OUTPUT.MASK";
Note:
See TracChangeset
for help on using the changeset viewer.
