From 2ca3f89d91f717fe619914cf20e7222a1bb1ff63 Mon Sep 17 00:00:00 2001
From: Colm Talbot <colm.talbot@ligo.org>
Date: Mon, 11 Jun 2018 11:06:17 +1000
Subject: [PATCH] add CBCPriorSet

---
 tupak/gw/prior.py | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/tupak/gw/prior.py b/tupak/gw/prior.py
index 1e0c0b0e7..37dd2299a 100644
--- a/tupak/gw/prior.py
+++ b/tupak/gw/prior.py
@@ -1,7 +1,14 @@
 import logging
+from tupak.core import prior
 
 
-def test_redundancy(key, prior):
+class CBCPriorSet(prior.PriorSet):
+    def __init__(self, dictionary=None, filename=None):
+        prior.PriorSet.__init__(dictionary=dictionary, filename=filename)
+        self.test_redundancy = test_cbc_redundancy
+
+
+def test_cbc_redundancy(key, prior):
     """
     Test whether adding the key would add be redundant.
 
-- 
GitLab