Skip to content

Commit eb87aea

Browse files
committed
testing bug fix on plotting where per was not extracted for duos
1 parent 2eea614 commit eb87aea

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

MonoTools/fit.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4270,13 +4270,11 @@ def plot(self, interactive=False, n_samp=None, overwrite=False, interp=True, new
42704270
setattr(self.lc,'phase',{})
42714271
for n,pl in enumerate(self.planets):
42724272
if hasattr(self,'trace'):
4273-
vars=['t0_'+pl]
4273+
vars=['t0_'+pl,'per_'+pl]
42744274
if pl in self.trios:
42754275
vars+=['t0_3_'+pl]
42764276
if pl in self.trios+self.duos:
42774277
vars+=['t0_2_'+pl]
4278-
elif pl in self.multis or pl in self.rvplanets:
4279-
vars+=['per_'+pl]
42804278
if 'tdur_'+pl in self.init_soln:
42814279
vars+=['tdur_'+pl]
42824280
elif 'tdur_'+pl+'[0]' in self.init_soln:

0 commit comments

Comments
 (0)