Skip to content

propagateLine causing tracebacks #899

Description

@g7gpr
2026/06/22 10:48:28-DEBUG-ExtractStars-line:360 - extracted 53 stars from FF_AU001U_20260622_104816_496_0049152.fits
2026/06/22 10:48:28-INFO-DetectStarsAndMeteors-line:231 - Detected stars: 53
2026/06/22 10:48:28-INFO-DetectStarsAndMeteors-line:237 - At least 20 stars, detecting meteors...
2026/06/22 10:48:31-INFO-QueuedPool-line:204 - Traceback (most recent call last):
  File "/home/au001u/source/RMS/RMS/QueuedPool.py", line 361, in _workerFunc
    result = func(*all_args, **self.func_kwargs)
  File "/home/au001u/source/RMS/RMS/DetectStarsAndMeteors.py", line 240, in detectStarsAndMeteors
    meteor_list = detectMeteors(img_handle, config, flat_struct=flat_struct, dark=dark, mask=mask)
  File "/home/au001u/source/RMS/RMS/Detection.py", line 1378, in detectMeteors
    line_points = getAllPoints(stripe_points, x1, y1, z1, x2, y2, z2, config,
        fireball_detection=False)
  File "/home/au001u/source/RMS/RMS/Routines/Grouping3D.py", line 69, in getAllPoints
    return getAllPointsCy(point_list, x1, y1, z1, x2, y2, z2, distance_threshold, gap_threshold)
  File "RMS/Routines/Grouping3Dcy.pyx", line 198, in RMS.Routines.Grouping3Dcy.getAllPoints
    if not point1_index:
ValueError: The truth value of an empty array is ambiguous. Use `array.size > 0` to check that an array is not empty.

This code

if not point1_index:

has been creating errors recently. I've not looked into it yet, but I don't think the fix is too complex, and might be required because of a change in python evaluation behaviour.

(vRMS) au001u@coorinja:~/source/RMS$ python --version
Python 3.13.5

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