Index: branches/eam_branches/relphot.20210521/src/setMrelFinal.c
===================================================================
--- branches/eam_branches/relphot.20210521/src/setMrelFinal.c	(revision 41606)
+++ branches/eam_branches/relphot.20210521/src/setMrelFinal.c	(revision 41607)
@@ -101,8 +101,4 @@
   }
 
-  // XXX make this optional? (do not clean for -averages?)
-  // XXX : for the moment, disable clean_measures
-  if (!simpleAverage && FALSE) clean_measures (catalog, 1, TRUE);    /* mark outliers ID_MEAS_POOR_PHOTOM */
-
   ALLOCATE (catalog[0].measureRank, char, catalog[0].Nmeasure);
   setMeasureRank (catalog);
@@ -271,4 +267,6 @@
 }
 
+// XXX review this, especially the good/bad images
+// by this point, we have propagated the mosaic and tgroup flags to each image
 void setMeasureRank (Catalog *catalog) {
 
