Changeset 33670 for trunk/pstamp/scripts
- Timestamp:
- Apr 3, 2012, 4:07:34 PM (14 years ago)
- Location:
- trunk/pstamp/scripts
- Files:
-
- 2 edited
-
pstamp_finish.pl (modified) (1 diff)
-
pstampparse.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstamp_finish.pl
r30633 r33670 201 201 # process the reglist file to get the list of files produced by this job 202 202 foreach my $line (<JRL>) { 203 204 # XXX: we are getting many cases where the size and/or md5sum calculated by 205 # the job has changed by the time the request_finish has run 206 # Don't 203 207 # add line to the requests's reglist 204 print $rlf $line; 208 # .... 209 # print $rlf $line; 210 205 211 206 212 chomp $line; 207 my ($img_name, undef) = split '\|', $line; 213 my ($img_name, $reported_size, $reported_sum, $filetype) = split '\|', $line; 214 # ... instead let dsreg compute the paramters by leaving them blank 215 print $rlf "$img_name|||$filetype|\n"; 208 216 209 217 # add line to the table definition file -
trunk/pstamp/scripts/pstampparse.pl
r33512 r33670 333 333 my $skycenter = $row->{skycenter} = ! ($row->{COORD_MASK} & $PSTAMP_CENTER_IN_PIXELS); 334 334 335 if (!$skycenter and !$component and $stage ne 'stack' and !($option_mask & $PSTAMP_USE_IMFILE_ID)){ 335 my $wholefile = 0; 336 if (!$skycenter && $row->{CENTER_X} == 0 && $row->{CENTER_Y} == 0) { 337 # Secret code for returning the whole file 338 $wholefile = 1; 339 } 340 341 if (!$skycenter and !$wholefile and !$component and $stage ne 'stack' and !($option_mask & $PSTAMP_USE_IMFILE_ID)){ 336 342 print STDERR "COMPONENT must be specified for pixel coordinate ROI center\n"; 337 343 insertFakeJobForRow($row, 1, $PSTAMP_INVALID_REQUEST);
Note:
See TracChangeset
for help on using the changeset viewer.
