LSST-nonproject/sims_maf_contrib

metrics.BaseMetric.list(doc=True) in Getting_MAF_Help.ipynb returns 'BaseMetric' has no attribute 'list'

Closed this issue · 4 comments

metrics.BaseMetric.list(doc=True)


AttributeError Traceback (most recent call last)
in ()
1 # Show the list of metrics with a little bit of documentation
----> 2 metrics.BaseMetric.list(doc=True)

AttributeError: type object 'BaseMetric' has no attribute 'list'

system specs:
fbianco@octomore: ~/$eups list sims_maf
2.3.5.sims+2 sims sims_2_3_5_1

fbianco@octomore: ~/jupyter --version
4.2.0
fbianco@octomore: ~/lsst/DarwinX86/sims_maf/2.3.5.sims+2/python/lsst/sims$ipython --version
5.1.0
fbianco@octomore: ~/lsst/DarwinX86/sims_maf/2.3.5.sims+2/python/lsst/sims$python --version
Python 2.7.12 :: Anaconda custom (x86_64)

Thanks for finding these problems with the notebooks. It's hard to keep everything up to date.
Fixed.

I think that Frossie et al. are considering ways to do CI on notebooks -- it'll be a boon to many of us.

@RobertLuptonTheGood I regularly have travis-ci run my notebooks, it's great. Deploying the resulting html to the docs folder (perhaps in an orphan branch, to avoid repo bloat) is nice too. Perhaps we should issue this, @rhiannonlynne ? I can provide easy examples.