bioasp / caspo

Reasoning on the response of logical signaling networks with Answer Set Programming
https://bioasp.github.io/caspo
GNU General Public License v3.0
13 stars 3 forks source link

Test caspo learn #22

Open F-Michelon opened 9 months ago

F-Michelon commented 9 months ago

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 commented 8 months ago

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!