Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test caspo learn #22

Open
F-Michelon opened this issue Feb 9, 2024 · 1 comment
Open

Test caspo learn #22

F-Michelon opened this issue Feb 9, 2024 · 1 comment

Comments

@F-Michelon
Copy link

Here is the output of this test :
caspo learn ./DONNEES/reduced_transformed_pkn.sif ./DONNEES/dataset_midas.csv 30 --fit 0.04 --optimum ./RESULTATS/output_test_caspo

Running caspo learn...
/micromamba/fmichelon2020@ec-nantes.fr/envs/potasco/lib/python3.12/site-packages/caspo/core/graph.py:64: FutureWarning: The 'delim_whitespace' keyword in pd.read_csv is deprecated and will be removed in a future version. Use sep='\s+' instead
df = pd.read_csv(path, delim_whitespace=True, names=['source', 'sign', 'target']).drop_duplicates()
A critical error has occurred. Please file an issue at http://github.com/bioasp/caspo/issues

@svidela
Copy link
Member

svidela commented Feb 15, 2024

Hi,

Unfortunately the requirements.txt file was never fixed to pin the exact dependencies versions. If you installed caspo using pip install -r requirements.txt you can avoid errors and warnings with the following specific versions:

pandas==1.4
seaborn==0.11

You should run pip uninstall pandas seaborn, modify requirements.txt and then re-run pip install -r requirements.txt. Alternatively, you could use caspo with Docker.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants