Index: /branches/pap_mops/ippScripts/scripts/publish_file.pl
===================================================================
--- /branches/pap_mops/ippScripts/scripts/publish_file.pl	(revision 24451)
+++ /branches/pap_mops/ippScripts/scripts/publish_file.pl	(revision 24452)
@@ -39,5 +39,5 @@
 
 # Parse the command-line arguments
-my ( $pub_id, $stage, $stage_id, $format, $product, $workdir );
+my ( $pub_id, $camera, $stage, $stage_id, $format, $product, $workdir );
 my ( $dbname, $verbose, $no_update, $save_temps );
 
@@ -56,7 +56,8 @@
 
 pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV;
-pod2usage( -msg => "Required options: --pub_id --stage --stage_id --product --workdir",
+pod2usage( -msg => "Required options: --pub_id --camera --stage --stage_id --product --workdir",
            -exitval => $PS_EXIT_CONFIG_ERROR) unless
     defined $pub_id and
+    defined $camera and
     defined $product and
     defined $stage and
@@ -99,4 +100,5 @@
     foreach my $comp ( @$components ) {
         my $path_base = $comp->{path_base}; # Base name for file
+        next if defined $comp->{quality} and $comp->{quality} > 0;
 
         if ($stage eq 'diff') {
