IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29432


Ignore:
Timestamp:
Oct 15, 2010, 10:00:46 AM (16 years ago)
Author:
bills
Message:

postage stamp server updates from the trunk

Location:
tags/ipp-20100823
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20100823/PS-IPP-PStamp

  • tags/ipp-20100823/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm

    r29334 r29432  
    385385
    386386        next if $image->{fault};
    387         next if ($stage ne "raw") and $image->{quality};
     387        if (($stage ne "raw") and $image->{quality}) {
     388            print STDERR "Selected $stage image has bad quality. Skipping.\n";
     389            next;
     390        }
    388391
    389392        if ($base_name) {
     
    12221225                my $images = runToolAndParse($command, $verbose);
    12231226                if (!defined $images) {
    1224                     print "No components containing coordinates found for ${stage}_id $stage_id\n";
    1225                     foreach my $row (@$rowList) {
    1226                         # XXX: This doesn't seem like the correct error code?
    1227                         $row->{error_code} = $PSTAMP_NO_OVERLAP;
    1228                     }
     1227                    print "No  $c found for $stage ${stage}_id $stage_id\n";
    12291228                    next;
    12301229                }
  • tags/ipp-20100823/pstamp

  • tags/ipp-20100823/pstamp/scripts

    • Property svn:mergeinfo deleted
  • tags/ipp-20100823/pstamp/scripts/pstampparse.pl

    r29333 r29432  
    805805{
    806806    my ($r_jobState, $r_fault, $r_dep_id, $imagedb, $state, $stage, $stage_id, $component, $need_magic) = @_;
    807 
    808     if (($stage ne 'chip') and ($stage ne 'raw')) {
    809         # XXX: The update process for warp and subsequent stages requires that destreaking to be performed
    810         # because the -pending queries require the inputs to have magicked >= 0
    811         # This is too conservative. For example stage is warp and the warp has never been destreaked we don't
    812         # need magic either
    813         # The case of stack-stack diffs not needing to be destreaked is taken care of in pstamp_checkdependent
    814         # maybe we should put all of the smarts there and interpret the need_magic flag in the dependent as
    815         # "The client needs to have magic performed" and let
    816         # XXX: note the very nasty hard coding of gpc1
    817         $need_magic = 1 if $imagedb eq 'gpc1';
    818     }
    819807
    820808    # chipRun's can be in full state if destreaking is necessary
     
    913901                    # cause the image to be re-made
    914902                    # set up to queue an update run
     903                    my $require_magic = ($need_magic or $image->{magicked});
    915904                    get_dependent(\$$r_newState, \$$r_fault, $r_dep_id, $image->{imagedb},
    916                         $run_state, $stage, $image->{stage_id}, $image->{component}, $need_magic);
     905                        $run_state, $stage, $image->{stage_id}, $image->{component}, $require_magic );
    917906                }
    918907            }
  • tags/ipp-20100823/pstamp/scripts/pstampstopfaulted

    r29333 r29432  
    66# 25 is PSTAMP_NOT_AVAILABLE
    77fault_code=25
    8 fault_count=5
     8fault_count=3
    99
    1010date
  • tags/ipp-20100823/pstamp/src

    • Property svn:mergeinfo deleted
  • tags/ipp-20100823/pstamp/src/ppstampMakeStamp.c

    • Property svn:mergeinfo deleted
Note: See TracChangeset for help on using the changeset viewer.