From eb87aeaa474975e789fddfbbdc8796e80650a326 Mon Sep 17 00:00:00 2001 From: hposborn Date: Thu, 22 Aug 2024 12:58:53 +0200 Subject: [PATCH] testing bug fix on plotting where per was not extracted for duos --- MonoTools/fit.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/MonoTools/fit.py b/MonoTools/fit.py index a218b75..aed5598 100755 --- a/MonoTools/fit.py +++ b/MonoTools/fit.py @@ -4270,13 +4270,11 @@ def plot(self, interactive=False, n_samp=None, overwrite=False, interp=True, new setattr(self.lc,'phase',{}) for n,pl in enumerate(self.planets): if hasattr(self,'trace'): - vars=['t0_'+pl] + vars=['t0_'+pl,'per_'+pl] if pl in self.trios: vars+=['t0_3_'+pl] if pl in self.trios+self.duos: vars+=['t0_2_'+pl] - elif pl in self.multis or pl in self.rvplanets: - vars+=['per_'+pl] if 'tdur_'+pl in self.init_soln: vars+=['tdur_'+pl] elif 'tdur_'+pl+'[0]' in self.init_soln: