Changeset 36048 for trunk/pstamp/scripts/pstampparse.pl
- Timestamp:
- Aug 27, 2013, 2:42:06 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstampparse.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstampparse.pl
r36017 r36048 297 297 } 298 298 if ($job_type eq 'get_image') { 299 unless ($req_type eq 'byid' or $req_type eq 'byexp' or ($req_type eq 'byskycell' and $stage eq 'stack')) { 300 print STDERR "REQ_TYPE must be 'byid' or 'byexp' or byskcyell for stacks for JOB_TYPE 'get_image'\n"; 299 # get_image jobs are quite expensive in terms of space so we are currently restricting them 300 unless ($req_type eq 'byid' or $req_type eq 'byexp' 301 or ($req_type eq 'byskycell' and $stage eq 'stack') 302 or ($stage eq 'stack_summary')) { 303 print STDERR "REQ_TYPE must be 'byid' or 'byexp' JOB_TYPE 'get_image' for IMG_TYPE $stage\n"; 301 304 insertFakeJobForRow($row, 1, $PSTAMP_INVALID_REQUEST); 302 305 return 0; … … 306 309 my $component = $row->{COMPONENT}; 307 310 if (!defined $component or (lc($component) eq "null") or (lc($component) eq "all")) { 308 if ($job_type eq 'get_image' ) {311 if ($job_type eq 'get_image' and ! ($stage eq 'stack' or $stage eq 'stack_summary')) { 309 312 $row->{COMPONENT} = 'all'; 310 313 } else {
Note:
See TracChangeset
for help on using the changeset viewer.
