Skip to content

Commit

Permalink
Upper case fix in plot_retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasstolker committed Jan 19, 2021
1 parent 3642c2a commit 11df240
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions species/analysis/retrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -1187,6 +1187,7 @@ def loglike(cube,
# Cloudy atmosphere

cloud_fractions = {}

for item in self.cloud_species:
if f'{item[:-3].lower()}_fraction' in self.parameters:
cloud_fractions[item] = cube[cube_index[f'{item[:-3].lower()}_fraction']]
Expand Down
2 changes: 1 addition & 1 deletion species/plot/plot_retrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def plot_pt_profile(tag: str,

print(f'Plotting the P-T profiles: {output}...', end='', flush=True)

cloud_species = ['Fe(c)', 'MgSio3(c)', 'Al2O3(c)', 'Na2S(c)', 'KCl(c)']
cloud_species = ['Fe(c)', 'MgSiO3(c)', 'Al2O3(c)', 'Na2S(c)', 'KCl(c)']
cloud_check = ['fe', 'mgsio3', 'al2o3', 'na2s', 'kcl']

species_db = database.Database()
Expand Down

0 comments on commit 11df240

Please sign in to comment.