Index: trunk/ippScripts/scripts/automate_stacks.pl
===================================================================
--- trunk/ippScripts/scripts/automate_stacks.pl	(revision 27505)
+++ trunk/ippScripts/scripts/automate_stacks.pl	(revision 27512)
@@ -539,4 +539,5 @@
     my $date = shift;
     my $pretend = shift;
+    my $exposures = 0;
     foreach my $target (@target_list) {
         my ($Nexposures,$Nimfiles,$Nburntooled,$Nalready) = pre_chip_queue($date,$target);
@@ -554,7 +555,11 @@
             next;
         }
+	$exposures++;
         unless(defined($pretend)) {
             chip_queue($date,$target);
         }
+    }
+    if ($exposures == 0) {
+	$metadata_out{nsState} = 'DROP';
     }
 }
