A small bug I found in retrieval.py was that there are some cloud setups that don't include kzz (or fsed) as a parameter but should follow the first if statement in _lnlike, otherwise you get an error because cloud_dict is not defined. In my case it was using cloud model 2 from Paul's 2020 paper. In this commit I used a quick loop within an any() instead of testing if kzz was included, and then I ran black on the whole of the file.
Hi Tomas,
A small bug I found in
retrieval.py
was that there are some cloud setups that don't include kzz (or fsed) as a parameter but should follow the first if statement in_lnlike
, otherwise you get an error because cloud_dict is not defined. In my case it was using cloud model 2 from Paul's 2020 paper. In this commit I used a quick loop within an any() instead of testing if kzz was included, and then I ranblack
on the whole of the file.