Skip to content

Commit

Permalink
fix bug in snana v2 model urls
Browse files Browse the repository at this point in the history
  • Loading branch information
kbarbary committed Jun 8, 2019
1 parent 4530120 commit fac029a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/history.rst
Expand Up @@ -8,6 +8,12 @@ sncosmo v1.0 will continue to work with any v1.x version. However,
exact results may differ between versions in the 1.x series. (For
example, due to changes in integration method.)

v1.8.2 (2019-06-08)
===================

- Fix bug in download location of ``snana-*`` models latest versions,
introduced in v1.8.0.

v1.8.1 (2019-06-08)
===================

Expand Down
2 changes: 1 addition & 1 deletion sncosmo/__init__.py
Expand Up @@ -11,7 +11,7 @@
from astropy.config.configuration import update_default_config


__version__ = "1.8.1"
__version__ = "1.8.2"


def test(package=None, test_path=None, args=None, plugins=None,
Expand Down
2 changes: 1 addition & 1 deletion sncosmo/builtins.py
Expand Up @@ -779,7 +779,7 @@ def load_snemo(relpath, name=None, version=None):
ref = ('SNSEDExtend', 'Pierel et al. 2018'
'<https://arxiv.org/abs/1808.02534>')
for name, sntype, fn in p18Models_CC:
relpath = os.path.join('models', 'pierel', 'cc_models', fn)
relpath = os.path.join('models', 'pierel', fn)
meta = {'subclass': '`~sncosmo.TimeSeriesSource`', 'type': sntype,
'ref': ref}
_SOURCES.register_loader(name, load_timeseries_ascii,
Expand Down

0 comments on commit fac029a

Please sign in to comment.