Changeset 28135
- Timestamp:
- May 27, 2010, 10:12:12 AM (16 years ago)
- Location:
- tags/ipp-20100525
- Files:
-
- 4 edited
-
PS-IPP-PStamp (modified) (1 prop)
-
PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm (modified) (3 diffs)
-
pstamp (modified) (1 prop)
-
pstamp/scripts/pstamp_checkdependent.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20100525/PS-IPP-PStamp
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/czw_branch/20100427/PS-IPP-PStamp merged eligible /trunk/PS-IPP-PStamp merged eligible /branches/pap/PS-IPP-PStamp 27706-28005
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
tags/ipp-20100525/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
r28069 r28135 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) { -
tags/ipp-20100525/pstamp
- Property svn:mergeinfo changed
/trunk/pstamp merged: 28134
- Property svn:mergeinfo changed
-
tags/ipp-20100525/pstamp/scripts/pstamp_checkdependent.pl
r28064 r28135 299 299 my $command = "$warptool -scmap -warp_id $warp_id -skycell_id $skycell_id"; 300 300 my $data = runToolAndParse($command, $verbose); 301 my_die("failed to find warpSkyCelllMap for warpRun $warp_id skycell_id $skycell_id", $PS_EXIT_UNKNOWN_ERROR) 302 if !$data or scalar @$data == 0; 301 if (!$data or scalar @$data == 0) { 302 # This happens if the chipProcessedImfile disappears which happened when earlier 303 # versions of chiptool -revertprocessedimfile didn't check the chipRun.state before 304 # deleing the row. 305 # Fault the jobs so that the Request can finish ... 306 faultJobs('stop', undef, undef, $PSTAMP_GONE); 307 # ... and fault the dependent so that we have a record of the error 308 my_die("failed to find warpSkyCelllMap for warpRun $warp_id skycell_id $skycell_id", 309 $PS_EXIT_DATA_ERROR); 310 } 311 303 312 304 313 my $chips_ready = 1;
Note:
See TracChangeset
for help on using the changeset viewer.
