benjaminaschultz / shakespeare

Identify relevant scientific papers with simple machine learning techniques
MIT License
8 stars 3 forks source link

Warning: ~/.shakespeare does not contain nb.p / kw.p #2

Closed csadorf closed 10 years ago

csadorf commented 10 years ago

After a systemwiede fresh install I copied the example database nb.p and kw.p into $HOME/.shakespeare.

When executing shakespeare -j natnano pnas -o cool_papers.md in a random local working directory, I receive the following warnings:

Warning: knowledge dir /home/simon/.shakespeare does not contain nb.p (pickled naive bayes object) Warning: knowledge dir /home/simon/.shakespeare does not contain kw.p (pickled keyword list)

in clear contradiction to ls ~/.shakespeare/ kw.p nb.p

csadorf commented 10 years ago
python --version
Python 2.7.4
benjaminaschultz commented 10 years ago

There was a bug that I introduced when I refactored things a bit a few weeks ago. If you pull the latest version off of master, it should work now. Thanks for testing this out!

csadorf commented 10 years ago

It works. Thank you!