dendrograms/dendro-core — pull request #9 by ChrisBeaumont (2012-10-29 17:18:18+00:00)
Title: update signature of static warning

The static_warning method doesn't give it's helpful error message if keyword parameters are supplied:

In [1]: from astrodendro.dendrogram import Dendrogram
In [2]: d = Dendrogram()
In [3]: d.compute('test.fits', min_flux=2)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
in ()
----> 1 d.compute('test.fits', min_flux=2)

TypeError: static_warning() got an unexpected keyword argument 'min_flux'

This PR makes sure the static warning message is always displayed