- Timestamp:
- Nov 18, 2015, 10:31:46 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/addstar_multi_run.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/addstar_multi_run.pl
r38584 r39155 39 39 my $minidvodb_path; 40 40 41 my ( $label,$camera, $stage, $stage_id, $ outroot, $stageroot, $dbname, $reduction, $dvodb, $minidvodb, $minidvodb_name, $minidvodb_group, $image_only, $verbose, $no_update,41 my ( $label,$camera, $stage, $stage_id, $use_diff_inv, $outroot, $stageroot, $dbname, $reduction, $dvodb, $minidvodb, $minidvodb_name, $minidvodb_group, $image_only, $verbose, $no_update, 42 42 $no_op, $redirect, $save_temps); 43 43 GetOptions( … … 46 46 'stage|s=s' => \$stage, # Camera 47 47 'stage_id|w=s' => \$stage_id, 48 'use_diff_inv' => \$use_diff_inv, #use inv images for diff cmf? 48 49 'dbname|d=s' => \$dbname, # Database name 49 50 'outroot|w=s' => \$outroot, # output file base name … … 149 150 } 150 151 printf TEMPLIST "$realFile = $fpaObjects\n"; 151 } 152 if ($stage == 'diff' && $use_diff_inv) { 153 my $fpaObjectsInv = $mparsed.'.inv.cmf'; 154 my $realFileInv = $ipprc->file_resolve($fpaObjectsInv); 155 if (!defined($realFileInv)) { 156 &my_die("unable to resolve real file from $mparsed",$stage_id, $stage, $label, 7); 157 } 158 printf TEMPLIST "$realFileInv = $fpaObjectsInv\n"; 159 } 160 152 161 } 153 162 … … 238 247 if ($stage =~ /diff/) { 239 248 $command .= " -accept-astrom"; 249 if ($use_diff_inv) { 250 $command .= " -diff-inv"; 251 } 240 252 } 253 241 254 if ($stage =~ /fullforce/) { 242 255 $command .= " -accept-astrom -xrad";
Note:
See TracChangeset
for help on using the changeset viewer.
