Index: trunk/ippMonitor/def/simplePlotStaticskyImage.d
===================================================================
--- trunk/ippMonitor/def/simplePlotStaticskyImage.d	(revision 34434)
+++ trunk/ippMonitor/def/simplePlotStaticskyImage.d	(revision 34436)
@@ -1,3 +1,3 @@
-TABLE staticskyRun, staticskyInput, stackRun, skycell 
+TABLE staticskyRun, staticskyResult, staticskyInput, stackRun, skycell 
 TITLE New sky plot - staticsky
 FILE  simplePlotStaticskyImage.php
@@ -5,4 +5,5 @@
 
 WHERE staticskyRun.state != 'new' 
+WHERE staticskyRun.sky_id = staticskyResult.sky_id
 WHERE staticskyRun.sky_id = staticskyInput.sky_id
 WHERE staticskyInput.stack_id = stackRun.stack_id
@@ -13,8 +14,10 @@
 FIELD staticskyRun.sky_id,	  5, %d,     Staticsky ID,    restrict
 FIELD stackRun.stack_id,          5, %d,     Stack ID,        restrict
-FIELD staticskyRun.label,         10, %s,     Label, 	      restrict
-FIELD skycell.radeg,              8, %C,     RA, 	      restrict
-FIELD skycell.decdeg,             8, %C,     DEC, 	      restrict
+FIELD staticskyRun.label,        10, %s,     Label, 	      restrict
+FIELD skycell.radeg,             10, %.6f,   RA (deg), 	      restrict
+FIELD skycell.decdeg,            10, %.6f,   DEC (deg),       restrict
 FIELD stackRun.filter,           10, %s,     FILTER, 	      restrict
+FIELD staticskyResult.num_inputs, 5, %d,     num_inputs,      restrict 
+FIELD staticskyResult.quality,    5, %d,     quality,         restrict
 
 # What to plot
