- Timestamp:
- Mar 5, 2012, 5:19:48 PM (14 years ago)
- Location:
- branches/meh_branches/ppstack_test
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
pstamp/scripts (modified) (1 prop)
-
pstamp/scripts/pstampparse.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppstack_test
- Property svn:mergeinfo changed
-
branches/meh_branches/ppstack_test/pstamp/scripts
- Property svn:mergeinfo set to
-
branches/meh_branches/ppstack_test/pstamp/scripts/pstampparse.pl
r31507 r33415 148 148 } elsif ($lcname =~ /qub/) { 149 149 $label = "QUB"; 150 $label_changed = 1; 151 } elsif ($lcname =~ /pypstamp/) { 152 $label = "PY"; 150 153 $label_changed = 1; 151 154 } … … 251 254 # If we encounter an error for a particular row add a job with the proper fault code. 252 255 256 my $stage = $row->{IMG_TYPE}; 257 253 258 my $rownum = $row->{ROWNUM}; 254 259 if (!validID($rownum)) { … … 272 277 } 273 278 if ($job_type eq 'get_image') { 274 unless ($req_type eq 'byid' or $req_type eq 'byexp' ) {275 print STDERR "REQ_TYPE must be 'byid' or 'byexp' for JOB_TYPE 'get_image'\n";279 unless ($req_type eq 'byid' or $req_type eq 'byexp' or ($req_type eq 'byskycell' and $stage eq 'stack')) { 280 print STDERR "REQ_TYPE must be 'byid' or 'byexp' or byskcyell for stacks for JOB_TYPE 'get_image'\n"; 276 281 insertFakeJobForRow($row, 1, $PSTAMP_INVALID_REQUEST); 277 282 return 0; … … 334 339 } 335 340 336 my $stage = $row->{IMG_TYPE};337 341 if (!check_image_type($stage)) { 338 342 print STDERR "invalid IMG_TYPE for row $rownum\n"; … … 460 464 my $numRows = scalar @$rowList; 461 465 466 if (($req_type eq 'byskycell') or ($req_type eq 'bycoord')) { 467 # avoid error from print below if $id isn't needed 468 $id = "" if !$id; 469 } 462 470 print "Collected $numRows rows beginning with row $rownum. $req_type $stage $id $tess_id $component\n"; 463 471
Note:
See TracChangeset
for help on using the changeset viewer.
