From 19eb3c44d322a1003f824e7b716698f0ff17beb2 Mon Sep 17 00:00:00 2001 From: "patrick.godwin" <patrick.godwin@ligo.org> Date: Wed, 4 Sep 2019 09:05:44 -0400 Subject: [PATCH] inspiral_pipe.py: fix issue in accessing svd node properties in marginalize_layer() causing issues with DAG generation --- gstlal-inspiral/python/inspiral_pipe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gstlal-inspiral/python/inspiral_pipe.py b/gstlal-inspiral/python/inspiral_pipe.py index ac221362af..86ca87322b 100644 --- a/gstlal-inspiral/python/inspiral_pipe.py +++ b/gstlal-inspiral/python/inspiral_pipe.py @@ -603,7 +603,7 @@ def marginalize_layer(dag, jobs, svd_nodes, lloid_output, lloid_diststats, optio # lloid_output. svd nodes should be made into a dictionary much # earlier in the code to prevent a mishap if svd_nodes: - one_ifo_svd_nodes = dict(("%04d" % n, [node]) for n, node in enumerate( svd_nodes.values()[0])) + one_ifo_svd_nodes = dict(("%04d" % n, node) for n, node in enumerate( svd_nodes.values()[0])) # Here n counts the bins # FIXME - this is broken for injection dags right now because of marg nodes -- GitLab