openkinome / kinoml

Structure-informed machine learning for kinase modeling
https://openkinome.org/kinoml/
MIT License
52 stars 21 forks source link

dead kernel for example notebooks without openeye license #122

Open schallerdavid opened 2 years ago

schallerdavid commented 2 years ago

Using OpenEye code without license leads to dead kernels. It would be great if the example notebooks can also be run without a valid OpenEye license or at least display a warning instead of a dying kernel without any further information.

I added an OpenEye license check in the Protein object initialization. However, this does not get used when using the from_pdb and from_file method. So one could add the checks there as well or find a more general solution.

In any case, if you stumble over dead kernels and don't have a valid OpenEye license specify toolkit="MDAnalysis" when working with Protein objects and DataSetProviders.