IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24452


Ignore:
Timestamp:
Jun 16, 2009, 3:25:23 PM (17 years ago)
Author:
Paul Price
Message:

Fix compilation errors.
Ignore bad quality files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_mops/ippScripts/scripts/publish_file.pl

    r24447 r24452  
    3939
    4040# Parse the command-line arguments
    41 my ( $pub_id, $stage, $stage_id, $format, $product, $workdir );
     41my ( $pub_id, $camera, $stage, $stage_id, $format, $product, $workdir );
    4242my ( $dbname, $verbose, $no_update, $save_temps );
    4343
     
    5656
    5757pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV;
    58 pod2usage( -msg => "Required options: --pub_id --stage --stage_id --product --workdir",
     58pod2usage( -msg => "Required options: --pub_id --camera --stage --stage_id --product --workdir",
    5959           -exitval => $PS_EXIT_CONFIG_ERROR) unless
    6060    defined $pub_id and
     61    defined $camera and
    6162    defined $product and
    6263    defined $stage and
     
    99100    foreach my $comp ( @$components ) {
    100101        my $path_base = $comp->{path_base}; # Base name for file
     102        next if defined $comp->{quality} and $comp->{quality} > 0;
    101103
    102104        if ($stage eq 'diff') {
Note: See TracChangeset for help on using the changeset viewer.