Skip to content

Commit

Permalink
Added static evo model list so RTD builds pass
Browse files Browse the repository at this point in the history
  • Loading branch information
hover2pi committed Feb 19, 2021
1 parent f0daa2c commit 7b7128d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sedkit/isochrone.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@
# A list of all supported evolutionary models
try:
EVO_MODELS = [os.path.basename(m).replace('.txt', '') for m in glob.glob(resource_filename('sedkit', 'data/models/evolutionary/*'))]
# Fails RTD build for some reason
except:
EVO_MODELS = [os.path.basename(m).replace('.txt', '') for m in glob.glob(resource_filename('sedkit', 'sedkit/data/models/evolutionary/*'))]
EVO_MODELS = ['COND03', 'dmestar_solar', 'DUSTY00', 'f2_solar_age', 'hybrid_solar_age', 'nc+03_age', 'nc-03_age', 'nc_solar_age', 'parsec12_solar']

class Isochrone:
"""A class to handle model isochrones"""
Expand Down

0 comments on commit 7b7128d

Please sign in to comment.