dendrograms / astrodendro

Generate a dendrogram from a dataset
https://dendrograms.readthedocs.io/
Other
37 stars 38 forks source link

Benmark tests #52

Closed ChrisBeaumont closed 11 years ago

ChrisBeaumont commented 11 years ago

This PR adds a few benchmark dendrograms saved as fits files, and tests that Dendrogram.compute recreates them.

I'll rebase once #50 is merged

astrofrog commented 11 years ago

You'll need to update setup.py so that the package_data line is:

      package_data={'astrodendro.test':['*.npz', 'benchmark_data/*.fits']},

Otherwise python setup.py test doesn't work (the test data doesn't get copied to build).

ChrisBeaumont commented 11 years ago

Good catch. Let's see if this works

astrofrog commented 11 years ago

@ChrisBeaumont - tests are passing, shall we merge? :)

ChrisBeaumont commented 11 years ago

Works for me