Skip to content

Commit

Permalink
fixed bug related to E-MILES import
Browse files Browse the repository at this point in the history
  • Loading branch information
Justus Neumann committed Mar 11, 2024
1 parent 9394839 commit cce94c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/firefly_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,9 @@ def get_model(self, model_used, imf_used, deltal, vdisp, wave_instrument, r_inst
model_flux, age_model, metal_model = [],[],[]

for i in metal_files:
ages = i[91:96]
split_word = 'EMILES_SSP/'
model_id = i.split(split_word)[1]
ages = model_id[14:19]
ages = float(ages)
age_model.append(ages)

Expand Down

0 comments on commit cce94c2

Please sign in to comment.