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
Getting error in running python notebook of melc tonsils #30
Comments
Hi @ankitbioinfo, thanks for raising your issue. regarding your first issue:
could you please post the complete error stream from the cell you tried to execute? thanks!
the second notebook raises a Please let me know, if you have more questions, happy to assist, so you can explore ncem! |
Thanks for clearing the doubts. Here is the complete error from the first step. TypeError Traceback (most recent call last) ~/miniconda/lib/python3.8/site-packages/ncem/data.py in ligrec(self, image_key, source_groups, undefined_type, hgnc_names, fraction, pvalue_threshold, width, seed, random_state, fontsize, save, suffix, show, copy) ~/miniconda/lib/python3.8/site-packages/omnipath/_core/requests/interactions/_utils.py in import_intercell_network(include, interactions_params, transmitter_params, receiver_params) ~/miniconda/lib/python3.8/site-packages/omnipath/_core/requests/_utils.py in wrapper(wrapped, _instance, args, kwargs) ~/miniconda/lib/python3.8/site-packages/omnipath/_core/requests/interactions/_interactions.py in get(cls, include, exclude, **kwargs) ~/miniconda/lib/python3.8/site-packages/omnipath/_core/requests/interactions/_interactions.py in init(self, include, exclude) ~/miniconda/lib/python3.8/site-packages/omnipath/_core/requests/interactions/_interactions.py in init(self, datasets, exclude) ~/miniconda/lib/python3.8/site-packages/omnipath/_core/requests/_request.py in init(self) ~/miniconda/lib/python3.8/site-packages/omnipath/_core/downloader/_downloader.py in init(self, opts) TypeError: init() got an unexpected keyword argument 'allowed_methods' |
hi @ankitbioinfo, thanks for posting the complete error stream. I tried to reproduce your error in an environment with only From how I read your error stream, it might be caused by a different version of |
Hi Anna, Many thanks for reproducing the error. I updated the following packages and now it seems working. ruamel_yaml_conda>=0.11.14 |
Hi, I am running your example of following two notebooks data_exploration_melc_tonsils.ipynb, and model_benchmarks_melc_tonsils.ipynb
In the first one I get the error at step "Supp. Fig. 7: Ligand–receptor permutation test"
TypeError: init() got an unexpected keyword argument 'allowed_methods'
And from the other notebook at step "Figure 1 (d): Modeling cell communication as spatial cell state dependencies"
FileNotFoundError: [Errno 2] No such file or directory: '.210419_INTERACTIONS_BASELINE_NONE_NODES_PATIENT_1_pascualreguanttonsil/results/'
Can you please let me know what I am missing here? Thanks.
The text was updated successfully, but these errors were encountered: