Skip to content

Issue with CosolvKit Code on Google Colab #35

@pablo-arantes

Description

@pablo-arantes

Hi,

I hope this message finds you well.

I’ve been trying to run the CosolvKit code on Google Colab, but I’m encountering an issue. While the library installation and import went smoothly, I ran into a problem when attempting to build the system. The error seems to be related to the DGL library.

Here is the error message:

IndexError                                Traceback (most recent call last)
<ipython-input-4-51e3a8740d38> in <cell line: 17>()
     15                                    simulation_format="OPENMM")
     16 
---> 17 cosolvent_system.build()
     18 
     19 # # or you can specify epsilon and sigma parameters of the LJ potential

12 frames
/usr/local/lib/python3.10/site-packages/dgl/sparse/__init__.py in load_dgl_sparse()
     35     if len(path) > 1:
     36         raise ImportError("More than one DGL C++ sparse library found")
---> 37     path = path[0]
     38     if not os.path.exists(path):
     39         raise FileNotFoundError(f"Cannot find DGL C++ sparse library at {path}")

IndexError: list index out of range

You can check the notebook using the following link: https://colab.research.google.com/drive/1rI8eXZcXoM3iJHPSFMG9boAKTjojoNF1?usp=sharing

Thank you for your assistance.

Best regards,

Pablo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions