Skip to content

Commit

Permalink
update dust_attenuation import message
Browse files Browse the repository at this point in the history
  • Loading branch information
gbrammer committed Jan 29, 2024
1 parent 3fb0ad2 commit dd74421
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions eazy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,19 @@
import dust_attenuation
except ImportError:
print('Failed to `import dust_attenuation`')
print('Install my fork with $ pip install ' +
'git+https://github.com/gbrammer/dust_attenuation.git')
print('Install from the repo with $ pip install ' +
'git+https://github.com/karllark/dust_attenuation.git')
# print('Install my fork with $ pip install ' +
# 'git+https://github.com/gbrammer/dust_attenuation.git')

try:
import dust_extinction
except ImportError:
print('Failed to `import dust_extinction`')
print('Install my fork with $ pip install ' +
'git+https://github.com/gbrammer/dust_extinction.git')
### dust_extinction is now in dependencies and should be installed from PyPI

# try:
# import dust_extinction
# except ImportError:
# print('Failed to `import dust_extinction`')
# print('Install from the forked repo with $ pip install ' +
# 'git+https://github.com/gbrammer/dust_extinction.git')


## Hot fix for importing prospector without SPS_HOME variable set
Expand Down

0 comments on commit dd74421

Please sign in to comment.