Teichlab / cellphonedb

MIT License
339 stars 105 forks source link

Cannot run the test data #277

Closed shokohirosue closed 3 years ago

shokohirosue commented 3 years ago

Hi, I installed cellphonedb in my conda environment but could not run the test data.

(cpdb) $ cellphonedb method analysis test_counts.txt test_meta.txt 
/home/shoko/.local/lib/python3.8/site-packages/sklearn/utils/deprecation.py:144: FutureWarning: The sklearn.cluster.k_means_ module is  deprecated in version 0.22 and will be removed in version 0.24. The corresponding classes / functions should instead be imported from sklearn.cluster. Anything that cannot be imported from sklearn.cluster is now part of the private API.
  warnings.warn(message, FutureWarning)
/home/shoko/.local/lib/python3.8/site-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.3) or chardet (3.0.4) doesn't match a supported version!
  warnings.warn("urllib3 ({0}) or chardet ({1}) doesn't match a supported "
[ ][APP][02/03/21-18:26:02][WARNING] Latest local available version is `v2.0.0`, using it
[ ][APP][02/03/21-18:26:02][WARNING] User selected downloaded database `v2.0.0` is available, using it
[ ][CORE][02/03/21-18:26:02][INFO] Initializing SqlAlchemy CellPhoneDB Core
[ ][CORE][02/03/21-18:26:02][INFO] Using custom database at /home/sh822/.cpdb/releases/v2.0.0/cellphone.db
[ ][APP][02/03/21-18:26:02][INFO] Launching Method cpdb_analysis_local_method_launcher
[ ][APP][02/03/21-18:26:02][INFO] Launching Method _set_paths
[ ][APP][02/03/21-18:26:02][INFO] Launching Method _load_meta_counts
[ ][CORE][02/03/21-18:26:02][INFO] Launching Method cpdb_method_analysis_launcher
[ ][CORE][02/03/21-18:26:02][INFO] Launching Method _counts_validations
[ ][APP][02/03/21-18:26:02][ERROR] Invalid Counts data

Would you mind letting me know what I can try to fix this?

Thank you very much for your help.

prete commented 3 years ago

Hi @shokohirosue the order if the arguments is first meta and then counts, please try: cellphonedb method analysis test_meta.txt test_counts.txt

shokohirosue commented 3 years ago

Sorry, silly mistake. It worked. thank you so much!

shokohirosue commented 3 years ago

Sorry, silly mistake. It worked. thank you so much!