From cd7332058b12d83df33800b242d23b0e63a8bb64 Mon Sep 17 00:00:00 2001
From: Joris van Zwieten <zwieten@astron.nl>
Date: Fri, 26 Jan 2007 10:14:14 +0000
Subject: [PATCH] BugID: 1008 - Fixed baseline selection (no longer asserts
 when no baselines match part of the selection, only warns)

---
 CEP/BB/BBSKernel/src/Prediffer.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CEP/BB/BBSKernel/src/Prediffer.cc b/CEP/BB/BBSKernel/src/Prediffer.cc
index a6bc12576c7..c1068542778 100644
--- a/CEP/BB/BBSKernel/src/Prediffer.cc
+++ b/CEP/BB/BBSKernel/src/Prediffer.cc
@@ -488,7 +488,7 @@ bool Prediffer::setContext(const Context &context)
                 }
             }
 
-            ASSERTSTR(!stationGroup1.empty() && !stationGroup2.empty(), "Baseline specification does not match any station in the measurement set.");
+            LOG_WARN_STR("Baseline specification " << *baseline_it1 << ", " << *baseline_it2 << " does not match any baseline in the measurement set.");
 
             // Generate all possible baselines (pairs) from the two groups of station IDs. If a baseline
             // is selected in the current strategy _and_ matches the correlation selection of this context,
-- 
GitLab