DBCV icon indicating copy to clipboard operation
DBCV copied to clipboard

Incomplete requirement list to run tests

Open smartie2076 opened this issue 4 years ago • 3 comments

Hi @christopherjenness I think it would be nice if there was a requirements list to go though to install everything needed for the test file. Here the is what I had to do to set that up on my system:

pip install -U scikit-learn to install sklearn pip install pytest pip install hdbscan or conda install -c conda-forge hdbscan

I actually also expected the test folder to provide an example of the code´s application, not the assertions, I would add an example.py for that (eg. using the code in the README).

smartie2076 avatar Mar 22 '21 15:03 smartie2076

You should find all the install requirements in requirements.txt, which is located in the source folder

barblin avatar Mar 22 '21 15:03 barblin

I know, and I also should have installed those automatically by clicking on "Install requirements":

grafik

and python setup.py install also passed with Finished processing dependencies of DBCV==0.0.0

Still, when I tried running the tests, it resulted in grafik

As well as the same for pytest and hdbscan.

smartie2076 avatar Mar 22 '21 15:03 smartie2076

If you are sure that the installation works flawlessly, you can ignore this (I was using pycharm and Windows 10 Pro by the way). I think what would be interesting though would still be a file example.py.

smartie2076 avatar Mar 22 '21 15:03 smartie2076