Index: trunk/psastro/src/psastroAnalysis.c
===================================================================
--- trunk/psastro/src/psastroAnalysis.c	(revision 24647)
+++ trunk/psastro/src/psastroAnalysis.c	(revision 26259)
@@ -69,4 +69,9 @@
     }
 
+    if (!psastroRemoveClumpsRawstars(config)) {
+        psError (PSASTRO_ERR_UNKNOWN, false, "failed to remove RAWSTAR clumps\n");
+        return false;
+    }
+
     // load the reference stars overlapping the data stars
     psArray *refs = psastroLoadRefstars(config, "PSASTRO.INPUT");
@@ -127,7 +132,4 @@
     psastroMaskUpdates (config);
 
-    // XXX how do we specify stack astrometry?
-    // psastroStackAstrom (config, refs);
-
     return true;
 }
