zhengrongbin / MEBOCOST

A python-based package and software to predict metabolite mediated cell-cell communications by single-cell RNA-seq data
BSD 3-Clause "New" or "Revised" License
59 stars 10 forks source link

Config path error #7

Closed jackbrougher closed 1 year ago

jackbrougher commented 1 year ago

Hello,

Thanks for developing the great tool!

I'm running through your first tutorial but with a pre-existing annotated dataset of my own. I'm hitting an error at step 2.2 when running the code you've supplied. Specifically, the error is: KeyError: 'ERROR: the config path is not exist!'

Do I need to re-install? Any tips?

jackbrougher commented 1 year ago

I'm a dummy, please disregard!

ngmyy commented 9 months ago

Have you solved the problem? I had the same problem.

zhengrongbin commented 9 months ago

Have you solved the problem? I had the same problem.

Hi, the config path should be a relative or an absolute path to tell the location of mebocost.conf file in your laptop or other working space. You will not get the error if you run the notebook under the MEBOCOST folder downloaded from GitHub. If you run a notebook from a different folder, you must modify "config_path = './mebocost.conf'," and replace the './mebocost.conf' with the right path of mebocost.conf file.

I would recommend running the notebook under the MEBOCOST folder that you downloaded from GitHub if you cannot figure out the folder structure.