Skip to content

Unitcell class creates Index out of error atmakerings method #538

Description

@abmajith

HI @jonwright

It happens only for the certain combination of lattice parameters, not for all lattice parameters

Traceback (most recent call last):

  File "/home/noordhee/BMLine_Projects/ewoksImageD11/ewoks3dxrd/src/orangecontrib/ewoks3dxrd/lattice_filter.py", line 114, in _plotRings
    unit_cell.makerings(limit=limit)

  File "/home/noordhee/BMLine_Projects/ewoksImageD11/ewoks3dxrd/venv/lib/python3.12/site-packages/ImageD11/unitcell.py", line 498, in makerings
    peak = self.peaks[0]
           ~~~~~~~~~~^^^

IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions