Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: index 0 is out of bounds for axis 0 with sieze o #53

Open
zhouliqing0516 opened this issue May 18, 2024 · 0 comments
Open

Comments

@zhouliqing0516
Copy link

hi, when i want to run the basic_example, i get the this errors. it seems like raw_points cant get the corrdinates. i dont know how to address this problem. help me.
Traceback (most recent call last):
File "/home/jingtaozhou/POVME/POVME/POVME3.py", line 2207, in
if name == "main": dorun = runit(sys.argv)
^^^^^^^^^^^^^^^
File "/home/jingtaozhou/POVME/POVME/POVME3.py", line 1958, in init
convexHull, crossProducts = determineFirstConvexHull(index_and_pdbs,parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jingtaozhou/POVME/POVME/POVME3.py", line 858, in determineFirstConvexHull
hull = convex_hull_3d.gift_wrapping_3d(akl_toussaint_pts) # calculate convex hull using gift wrapping algorithm
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jingtaozhou/POVME/POVME/POVME3.py", line 321, in gift_wrapping_3d
point1 = raw_points[0] # take the first point
~~~~~~~~~~^^^
IndexError: index 0 is out of bounds for axis 0 with size 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant