KrishnaswamyLab / MAGIC

MAGIC (Markov Affinity-based Graph Imputation of Cells), is a method for imputing missing values restoring structure of large biological datasets.
GNU General Public License v2.0
341 stars 97 forks source link

problem running magic #213

Open AmitElad opened 1 year ago

AmitElad commented 1 year ago

hello, I installed both the R and python magics successfully, but I'm unable to run the magic function. what can I do? Thanks!

py_discover_config(required_module = "magic")

python: C:/Users/Amit/AppData/Local/r-miniconda/envs/r-reticulate/python.exe libpython: C:/Users/Amit/AppData/Local/r-miniconda/envs/r-reticulate/python38.dll pythonhome: C:/Users/Amit/AppData/Local/r-miniconda/envs/r-reticulate version: 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 05:59:00) [MSC v.1929 64 bit (AMD64)] Architecture: 64bit numpy: C:/Users/Amit/AppData/Local/r-miniconda/envs/r-reticulate/Lib/site-packages/numpy numpy_version: 1.23.4

import("magic") Module(magic)

py_config() python: C:/Users/Amit/AppData/Local/r-miniconda/envs/r-reticulate/python.exe libpython: C:/Users/Amit/AppData/Local/r-miniconda/envs/r-reticulate/python38.dll pythonhome: C:/Users/Amit/AppData/Local/r-miniconda/envs/r-reticulate version: 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 05:59:00) [MSC v.1929 64 bit (AMD64)] Architecture: 64bit numpy: C:/Users/Amit/AppData/Local/r-miniconda/envs/r-reticulate/Lib/site-packages/numpy numpy_version: 1.23.4

seurat_object <- magic(magic_testdata, genes=c("VIM", "CDH1", "ZEB1"))

Error in py_call_impl(callable, dots$args, dots$keywords) : TypeError: init() got an unexpected keyword argument 'k'

handesome commented 1 year ago

the same error,have you figured out?