Changeset 28115
- Timestamp:
- May 26, 2010, 1:54:51 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
r28069 r28115 1045 1045 $last_project = $proj_hash->[0]; 1046 1046 1047 $ipprc->define_camera($last_project->{camera}); 1048 1047 1049 return $last_project; 1048 1050 } … … 1105 1107 close $pointsList; 1106 1108 1107 # XXX: need to loop over these1108 # my $run = $runList->[0];1109 1109 if (($req_type eq "byid") or ($req_type eq "byexp")) { 1110 1110 my ($last_tess_id, $tess_dir_abs, $astrom_file) = ("", "", ""); … … 1114 1114 # XXX: use file rule and handle cameras where the astrometry is solved at 1115 1115 # the chip stage. 1116 $astrom_file = $run->{cam_path_base} . ".smf"; 1116 my $cam_path_base = $run->{cam_path_base}; 1117 if ($cam_path_base) { 1118 $astrom_file = $run->{cam_path_base} . ".smf"; 1119 } else { 1120 if (! find_astrometry($ipprc, $imagedb, $run, $verbose) ) { 1121 setErrorCodes($rowList, $PSTAMP_NOT_AVAILABLE); 1122 next; 1123 } 1124 $cam_path_base = $run->{cam_path_base}; 1125 $astrom_file = $run->{astrom_file}; 1126 } 1117 1127 my $astrom_file_resolved = $ipprc->file_resolve($astrom_file); 1118 1128 if (!$astrom_file_resolved) {
Note:
See TracChangeset
for help on using the changeset viewer.
