Error writepp function with eccentricity free and omega fixed #63
Labels
bug
Something isn't working
fixed-on-dev
invalid
This doesn't seem right
question
Further information is requested
Hola Nestor!
I got the following error when doing the fit using a free eccentricity but a fixed omega:
`~/anaconda3/envs/juliet/lib/python3.8/site-packages/juliet/utils.py in writepp(fout, posteriors, priors)
582 elif 'ecc_'+planet in posteriors['posterior_samples']:
583 ecc = posteriors['posterior_samples']['ecc_'+planet]
--> 584 omega = posteriors['posterior_samples']['omega_'+planet]*np.pi/180.
585 else:
586 ecc = 0.
KeyError: 'omega_p1'
It is mandatory to have both parameters free during the fit?
Gracias!
Sergio
The text was updated successfully, but these errors were encountered: