Changeset 31508
- Timestamp:
- May 10, 2011, 11:04:55 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstamp_job_run.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstamp_job_run.pl
r30850 r31508 146 146 # user required uncensored but since stage isn't chip we can't rebuild them 147 147 my_die("uncensored inputs not available for job $job_id", $job_id, $PSTAMP_NOT_AVAILABLE, 'stop'); 148 } elsif (($options & $PSTAMP_REQUEST_UNCENSORED) and ($params->{state} eq 'update') and ($stage ne 'chip')) {148 } elsif (($options & $PSTAMP_REQUEST_UNCENSORED) and ($params->{state} ne 'full') and ($stage ne 'chip')) { 149 149 # we can only restore pixels for chip stage images if the data has been updated. 150 # XXX: this test is not quite good enough. If all components have been updated then the151 # state will be 'full' But this will get us going.152 print "Run state is update: will make stamps from destreaked $stage images.\n";150 # the data will have been updated if the params->{state} the state when the job was queued is not 'full' ( 151 # XXX: we should probably be looking explicitly at the job and checking for a dep_id 152 print "Run state was $params->{state}: will make stamps from destreaked $stage images.\n"; 153 153 # make stamps from uncensored images 154 154 $muggle = 0;
Note:
See TracChangeset
for help on using the changeset viewer.
