Index: branches/eam_branches/ipp-20130904/pstamp/scripts/psmkreq
===================================================================
--- branches/eam_branches/ipp-20130904/pstamp/scripts/psmkreq	(revision 36254)
+++ branches/eam_branches/ipp-20130904/pstamp/scripts/psmkreq	(revision 36255)
@@ -39,8 +39,9 @@
 my $job_type     = 'stamp';
 my $req_type     = 'bycoord';
-my $stage        = 'chip';
+my $stage        = 'stack';
 my $option_mask;
 my $width        = $default_size;
 my $height       = $default_size;
+my $whole_file   = 0;
 my $project      = 'gpc1';
 my $coord_mask;
@@ -81,4 +82,5 @@
     'width=i'           => \$width,
     'height=i'          => \$height,
+    'whole-file'        => \$whole_file,
     'pixcenter'         => \$pixcenter,
     'arcseconds'        => \$arcseconds,
@@ -141,13 +143,22 @@
         pod2usage( -msg => "--ra --dec --x --y are not used with --list", -exitval =>1 )
             if defined $x or defined $y;
-    } elsif (!$pixcenter) {
-        pod2usage( -msg => "Required options for stamp requests: --ra and --dec or --list", -exitval =>1 )
-            unless (defined $ra and defined $dec);
-        # to simplify code we just use $x and $y from here
-        $x = $ra;
-        $y = $dec;
     } else {
-        pod2usage( -msg => "Required options for stamp requests: --x and --y or --list", -exitval =>1 )
-                unless (defined $x and defined $y);
+        if ($whole_file) {
+            $pixcenter = 1;
+            $x = 0;
+            $y = 0;
+            $width = 0;
+            $height = 0;
+        }
+        if (!$pixcenter) {
+            pod2usage( -msg => "Required options for stamp requests: --ra and --dec or --list", -exitval =>1 )
+                unless (defined $ra and defined $dec);
+            # to simplify code we just use $x and $y from here
+            $x = $ra;
+            $y = $dec;
+        } else {
+            pod2usage( -msg => "Required options for stamp requests: --x and --y or --list", -exitval =>1 )
+                    unless (defined $x and defined $y);
+        }
     }
 } else {
@@ -209,5 +220,5 @@
         $option_mask |= $PSTAMP_SELECT_PSF      if $psf;
         $option_mask |= $PSTAMP_SELECT_BACKMDL  if $backmdl;
-        $option_mask |= $PSTAMP_SELECT_UNCOMPRESSED   if $uncompressed;
+        $option_mask |= $PSTAMP_SELECT_UNCOMPRESSED if $uncompressed;
         $option_mask |= $PSTAMP_SELECT_UNCONV   if $unconvolved;
         $option_mask |= $PSTAMP_USE_IMFILE_ID   if $use_imfile_id;
Index: branches/eam_branches/ipp-20130904/tools/heather/queuesliceslap2.pl
===================================================================
--- branches/eam_branches/ipp-20130904/tools/heather/queuesliceslap2.pl	(revision 36255)
+++ branches/eam_branches/ipp-20130904/tools/heather/queuesliceslap2.pl	(revision 36255)
@@ -0,0 +1,33 @@
+#addtool  -pretend -definebyquery -label LAP.ThreePi.20120706 -set_dvodb LAP.20120706 -set_minidvodb_group LAP.slice06.part2.cam -set_minidvodb -set_label LAP.slice06.part2.cam -stage cam -uncensored -ra_min 90 -ra_max 120 -decl_min -35 -decl_max 20 -dbname gpc1 -simple | wc
+
+#addtool  -pretend -definebyquery -label LAP.ThreePi.20120706 -set_dvodb LAP.20120706 -set_minidvodb_group LAP.slice06.cam -set_minidvodb -set_label LAP.slice06.cam -stage cam -uncensored -ra_min 90 -ra_max 120 -decl_min 20 -decl_max 75 -dbname gpc1 -simple | wc
+
+
+$label = "LAP.ThreePi.20130717";
+
+@segments = (0,1,2,3,4,5,6,7,8);
+@segments1 = ( -35, -22,-10,2,14,26,38,50,62);
+@segments2 = ( -22,-10,2,14,26,38,50,62,75);
+
+
+@slices = ("00","02","04","06","08",10,12,14,16,18,20,22);
+    
+$slice = $slices[0];
+$slice = $slices[1];
+    foreach $num (@segments) {
+
+	$dvodb = "LAP.20130717";
+	$minidvodb_group = "LAP.slice$slice.$segments[$num].cam";
+	$dvodb_label = "$minidvodb_group";
+	$ra_min = $slice*15.0;
+	$ra_max = ($slice+2)*15.0;
+	$dec_min = $segments1[$num];
+	$dec_max = $segments2[$num];
+#	print "$dvodb $minidvodb_group $ra_min $ra_max $dec_min $dec_max\n";
+
+	
+	print "addtool -definebyquery  -label $label -set_dvodb $dvodb -set_minidvodb_group $minidvodb_group -set_minidvodb -set_label $dvodb_label -stage cam -uncensored -ra_min $ra_min -ra_max $ra_max -decl_min $dec_min -decl_max $dec_max -dbname gpc1 \n";
+
+
+
+}
Index: branches/eam_branches/ipp-20130904/tools/heathers_plots/deploy.sh
===================================================================
--- branches/eam_branches/ipp-20130904/tools/heathers_plots/deploy.sh	(revision 36254)
+++ branches/eam_branches/ipp-20130904/tools/heathers_plots/deploy.sh	(revision 36255)
@@ -1,4 +1,5 @@
 #!/bin/bash
-
+echo this only works on ippc11 for ipp user
+echo cp -f heathers_plots.py $HOME/local/bin
 cp -f heathers_plots.py $HOME/local/bin
 
Index: branches/eam_branches/ipp-20130904/tools/heathers_plots/heathers_plots.py
===================================================================
--- branches/eam_branches/ipp-20130904/tools/heathers_plots/heathers_plots.py	(revision 36254)
+++ branches/eam_branches/ipp-20130904/tools/heathers_plots/heathers_plots.py	(revision 36255)
@@ -38,5 +38,5 @@
  JOIN chipRun USING(chip_id) 
  JOIN rawExp USING(exp_id)
-WHERE stage = 'cam' and addRun.dvodb = 'LAP.20120706'
+WHERE stage = 'cam' and addRun.dvodb = 'LAP.20130717'
 """
 
@@ -50,5 +50,5 @@
  JOIN chipRun USING(chip_id)
  JOIN rawExp USING(exp_id)
-WHERE stage = 'cam' AND mergedvodbRun.mergedvodb = 'LAP.20120706'
+WHERE stage = 'cam' AND mergedvodbRun.mergedvodb = 'LAP.20130717'
 """
 
@@ -62,5 +62,5 @@
  JOIN stackRun USING (stack_id)
  JOIN skycell using (tess_id, skycell_id)
-WHERE stage = 'skycal' AND addRun.dvodb = 'LAP.20120706' 
+WHERE stage = 'skycal' AND addRun.dvodb = 'LAP.20130717' 
 """
 
@@ -77,5 +77,5 @@
  JOIN stackRun using (stack_id)
  JOIN skycell using (tess_id, skycell_id)
-WHERE stage = 'skycal' AND addRun.dvodb = 'LAP.20120706'"""
+WHERE stage = 'skycal' AND addRun.dvodb = 'LAP.20130717'"""
 
     def fetch_data(self, statement):
@@ -166,5 +166,7 @@
     hp = HeathersPlot()
     hp.update_cam_plot()
-    hp.update_skycal_plot()
-    hp.update_cam_merged_plot()
-    hp.update_skycal_merged_plot()
+#    hp.update_skycal_plot()
+#    hp.update_cam_merged_plot()
+#    hp.update_skycal_merged_plot()
+
+#don't make those for now since we don't do that yet
