bowang-lab / BIONIC

Biological Network Integration using Convolutions
MIT License
58 stars 4 forks source link

TypeError: 'PosixPath' object is not iterable #35

Closed nramani611 closed 2 years ago

nramani611 commented 2 years ago

I'm trying to input a label_names json file. The format of the file is the same as the example provided here. However, when I run bionic I get the following error: image

duncster94 commented 2 years ago

Hi, thanks for opening an issue. Can you copy/paste your config file?

You should double check the label_names value in the config is a list containing the path to your label file (since you can specify multiple label files) and not just the path itself (see how label_names is a list here).

Let me know if that helps!

nramani611 commented 2 years ago

I fixed the issue, as I realized that the label_names needs to be a list. Thanks for your help.