Periodogram panics on an empty light curve
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start at the Python Periodogram entry point and trace how an empty light curve reaches the Rust implementation. Check how fill_value is handled for empty inputs, then add or locate a regression test using the issue’s example. Done when the call returns the configured fill value without raising PanicException.
Written by the indexing model from the issue text.
Description
Title: Periodogram panics on an empty light curve instead of returning fill_value
Periodogram raises a Rust panic for an empty light curve, even when fill_value is set.
import numpy as np
import light_curve as licu
empty = np.array([], dtype=np.float64)
licu.Periodogram()(empty, empty, empty, fill_value=np.nan) # PanicException
- Dominant language
- Python
- Stars
- 48
- Forks
- 11
- Avg merge
- 11h 53m
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from light-curve/light-curve-python
-
Transformations are not being applied when passbands are usedPossibly taken @hombit claimed this today. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
light-curve/light-curve-python#872 ·
Maintainers usually reply within 1 day
-
binning capabilityPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
light-curve/light-curve-python#860 ·
Maintainers usually reply within 1 day
-
Enable `pyo3/abi3t-py315` featurePossibly taken A pull request linked to this issue is open or already merged. Openci packaging
Difficulty 3/5 1-2 days Newbie friendliness 55/100
light-curve/light-curve-python#796 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
light-curve/light-curve-python#786 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 30/100
light-curve/light-curve-python#742 · 10 comments ·
Maintainers usually reply within 1 day
All issues in light-curve/light-curve-python
Similar issues
-
area/test type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Clodmony/starship-coop#70 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
punitarani/fli#270 ·
-
🐛 Bug 🔔 Pending processing
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
jumpserver/jumpserver#17980 ·
Maintainers usually reply within 1 day
-
community enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
namespace
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
EclipseFdn/open-vsx.org#15341 ·
Maintainers usually reply within 1 day