LSST-nonproject / sims_maf_contrib

Contributed code for MAF (sims_maf)
18 stars 46 forks source link

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

Closed fedhere closed 7 years ago

fedhere commented 7 years ago

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)
rhiannonlynne commented 7 years ago

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

RobertLuptonTheGood commented 7 years ago

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

fedhere commented 7 years ago

I'm glad I can help!!

On Wed, May 31, 2017 at 6:27 PM Lynne Jones notifications@github.com wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/LSST-nonproject/sims_maf_contrib/issues/47#issuecomment-305336012, or mute the thread https://github.com/notifications/unsubscribe-auth/ABnkhnnk4PU7CzP2xov2mXSnZ4bE_kNmks5r_elAgaJpZM4NsP71 .

--

/|/\ |* Please consider the environment before printing this e-mail

drphilmarshall commented 7 years ago

@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.