Index: trunk/ippScripts/scripts/magic_definerun.pl
===================================================================
--- trunk/ippScripts/scripts/magic_definerun.pl	(revision 20676)
+++ trunk/ippScripts/scripts/magic_definerun.pl	(revision 20677)
@@ -32,6 +32,4 @@
 # Parse the command-line arguments
 my ($exp_id, $warp_id, $workdir, $dbname, $save_temps, $verbose);
-# temporary option to restrict inputs to central skycells of exp_id 37308
-my $only_central_chips;
 
 GetOptions(
@@ -42,5 +40,4 @@
            'save-temps'      => \$save_temps, # Save temporary files?
            'verbose'         => \$verbose,    # Print stuff?
-           'only-central-chips' => \$only_central_chips,   # only include the central 4 chips
            ) or pod2usage( 2 );
 
@@ -90,27 +87,5 @@
 print "$num_skyfiles skyfiles found for $exp_id\n" if $verbose;
 
-# this list is for a particular exposure 37308
-my %skycell_filter = (
-    'skycell.02877.14' => 1,
-    'skycell.02877.15' => 1,
-    'skycell.02877.21' => 1,
-    'skycell.02877.22' => 1,
-    'skycell.02877.23' => 1,
-    'skycell.02877.29' => 1,
-    'skycell.02877.30' => 1,
-    'skycell.02877.31' => 1,
-    'skycell.02877.37' => 1,
-    'skycell.02877.38' => 1,
-    'skycell.02877.46' => 1,
-    'skycell.02879.08' => 1,
-    'skycell.02879.16' => 1,
-    'skycell.02879.25' => 1,
-    'skycell.02879.32' => 1,
-    'skycell.02879.33' => 1,
-    'skycell.02879.40' => 1,
-    'skycell.02879.41' => 1
-);
-
-if ($warp_id or $only_central_chips) {
+if ($warp_id) {
     # filter the inputs
     my $i = 0;
@@ -118,11 +93,7 @@
         my $keep = 1;
         my $sf = $inputs->[$i];
-        my $skycell_id = $sf->{skycell_id};
         my $this_warp_id = $sf->{warp_id_temp_0};
 
-        if ($only_central_chips and ! $skycell_filter{$skycell_id} ) {
-            $keep = 0;
-        }
-        if ($warp_id and ($warp_id ne $this_warp_id)) {
+        if ($warp_id ne $this_warp_id) {
             $keep = 0;
         }
