PAHdb / pyPAHdb

A Python tool to decompose astronomical PAH emission into contributing PAH subclasses.
https://www.astrochemistry.org/pahdb/
BSD 3-Clause "New" or "Revised" License
7 stars 6 forks source link

Travis and pickle #19

Closed PAHdb closed 6 years ago

PAHdb commented 6 years ago

It seems Travis is not putting the downloaded pickle in the expected location. The setup.py-script should download it into pypahdb/data/precomputed.pkl. This is what makes the build-status to be reported "build failing" while everything else is OK. The newly created unit-test for the Decomposer class throws the error.

PAHdb commented 6 years ago

A misconception on our end caused the problems at Travis. Cloning the repository and installing the package are not the same. Running the pytest on pypahdb.test solves the issue after ensuring not being in the directory where the repository was cloned.