Skip to content

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

Description

@zhouliqing0516

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

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