-
Notifications
You must be signed in to change notification settings - Fork 122
Description
Hi I'm currently working on a project which requires me to use oddt to calculate molecular surface. When I use oddt.surface.generate_surface_marching_cubes I got the import error:
scikit-image could not be imported and is required for generating molecular surfaces.
I took a closer look at the source code and found out that this was caused by try...except... block from line 13 to line 23 in oddt.surface. When I ref to the skimage package I found that new versions of skimage changed their API and somehow line 17 from skimage.measure import marching_cubes_lewiner as marching_cubes was not working as expected. I deleted the if part and simply use from skimage.measure import marching_cubes and the problem was solved.
Could you please check this problem so that the code would function correctly? Thank you!
The main version of my packages are:
oddt==0.7
scikit-image==0.24.0
python==3.11.10
And all the tests are performed on Linux Ubuntu distribution.