Skip to content
Snippets Groups Projects
Commit d1e2b736 authored by Melissa Frei's avatar Melissa Frei
Browse files

svd patch no longer needed and removed

sql command files moved to triggers dir where they are used
parent b7603b13
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 19 deletions
diff --git a/gstlal-ugly/python/svd_bank.py b/gstlal-ugly/python/svd_bank.py
index c7953c9..1f10a99 100755
--- a/gstlal-ugly/python/svd_bank.py
+++ b/gstlal-ugly/python/svd_bank.py
@@ -60,8 +60,12 @@ from gstlal import templates
#
def read_approximant(xmldoc):
- approximant=ligolw_process.get_process_params(xmldoc, "tmpltbank", "--approximant")
- approximant=approximant[0]
+ try:
+ approximant=ligolw_process.get_process_params(xmldoc, "tmpltbank", "--approximant")
+ approximant=approximant[0]
+ except:
+ approximant=ligolw_process.get_process_params(xmldoc, "makeBank", "--approximant")
+ approximant=approximant[0]
supported_approximants=[u'FindChirpSP', u'TaylorF2', u'IMRPhenomB']
if approximant not in supported_approximants:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment