From 231f8e8b3169d320f64ecdf60ecff9f46c2f991c Mon Sep 17 00:00:00 2001 From: Colm Talbot <colm.talbot@ligo.org> Date: Thu, 7 May 2020 16:15:19 -0500 Subject: [PATCH] Apply suggestion to bilby/gw/conversion.py --- bilby/gw/conversion.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bilby/gw/conversion.py b/bilby/gw/conversion.py index d15457765..1b82f28c0 100644 --- a/bilby/gw/conversion.py +++ b/bilby/gw/conversion.py @@ -1135,6 +1135,7 @@ def generate_sky_frame_parameters(samples, likelihood): if isinstance(samples, dict): likelihood.parameters.update(samples) samples.update(likelihood.get_sky_frame_parameters()) + return elif not isinstance(samples, DataFrame): raise ValueError -- GitLab