Index: trunk/ppTranslate/src/ppMopsMerge.c
===================================================================
--- trunk/ppTranslate/src/ppMopsMerge.c	(revision 25923)
+++ trunk/ppTranslate/src/ppMopsMerge.c	(revision 28209)
@@ -28,9 +28,20 @@
 
 
-ppMopsDetections *ppMopsMerge(const psArray *detections)
+ppMopsDetections *ppMopsPurgeDuplicates(const psArray *detections)
 {
     PS_ASSERT_ARRAY_NON_NULL(detections, NULL);
 
-    psTrace("ppMops.merge", 1, "Merging detections from %ld inputs\n", detections->n);
+    int numInputs = detections->n;                // Number of inputs
+    psTrace("ppMops.merge", 1, "Checking detections from %ld inputs\n", numInputs);
+
+    psArray *dupes = psArrayAlloc(numInputs); // Vector of duplicate bits for each input
+    for (int i = 0; i < numInputs; i++) {
+        ppMopsDetections *det = detections->data[i]; // Detections from
+
+
+
+
+
+        dupes->data[i] = psVector
 
     ppMopsDetections *merged = NULL;    // Merged list
