From 7a3aa77ccfd5b2ab2a1de45109d15c21fd7c9e5e Mon Sep 17 00:00:00 2001
From: Chad Hanna <chad.hanna@ligo.org>
Date: Wed, 21 Nov 2018 20:28:19 -0800
Subject: [PATCH] gstlal_inspiral_pipe: add ligo model

---
 gstlal-inspiral/bin/gstlal_inspiral_pipe | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gstlal-inspiral/bin/gstlal_inspiral_pipe b/gstlal-inspiral/bin/gstlal_inspiral_pipe
index 03e9a90120..eb4c07cd51 100755
--- a/gstlal-inspiral/bin/gstlal_inspiral_pipe
+++ b/gstlal-inspiral/bin/gstlal_inspiral_pipe
@@ -1012,7 +1012,7 @@ def parse_command_line():
 
 	# Template bank
 	parser.add_option("--template-bank", metavar = "filename", help = "Set the template bank xml file.")
-	parser.add_option("--mass-model", metavar = "filename", help = "Set the name of the mass model. Options are 'file', 'salpeter'")
+	parser.add_option("--mass-model", metavar = "filename", help = "Set the name of the mass model. Options are 'file', 'salpeter' and 'ligo'")
 	parser.add_option("--mass-model-file", metavar = "filename", help = "Set the name of the mass model file, e.g., mass_model.h5.  Required if --mass-model=file")
 
 	# SVD bank construction options
@@ -1078,8 +1078,8 @@ def parse_command_line():
 
 	options, filenames = parser.parse_args()
 
-	if options.mass_model not in ("salpeter", "file"):
-		raise ValueError("--mass-model must be 'salpeter' or 'file'")
+	if options.mass_model not in ("salpeter", "ligo", "file"):
+		raise ValueError("--mass-model must be 'salpeter', 'ligo' or 'file'")
 	if options.mass_model == "file" and not options.mass_model_file:
 		raise ValueError("--mass-model-file must be provided if --mass-model=file")
 
-- 
GitLab