Changeset 31509
- Timestamp:
- May 10, 2011, 11:05:55 AM (15 years ago)
- Location:
- tags/ipp-20110505/pstamp/scripts
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
pstamp_job_run.pl (modified) (1 diff)
-
pstampparse.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20110505/pstamp/scripts
- Property svn:mergeinfo set to
-
tags/ipp-20110505/pstamp/scripts/pstamp_job_run.pl
r30850 r31509 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; -
tags/ipp-20110505/pstamp/scripts/pstampparse.pl
r30793 r31509 754 754 if ( $num_jobs == 0 ) { 755 755 print STDERR "no jobs for row $rownum\n" if $verbose; 756 insertFakeJobForRow($row, 1, $PSTAMP_NO_ JOBS_QUEUED);756 insertFakeJobForRow($row, 1, $PSTAMP_NO_IMAGE_MATCH); 757 757 $num_jobs = 1; 758 $row->{job_num} = 1; 758 759 } 759 760 return $num_jobs;
Note:
See TracChangeset
for help on using the changeset viewer.
