Skip to content

fix(visualization): align density array length in CustomAbundanceWidgetData.from_yml - #3848

Open
sundeep8967 wants to merge 2 commits into
tardis-sn:masterfrom
sundeep8967:fix/align-density-array-with-mailmap
Open

sundeep8967 wants to merge 2 commits into
tardis-sn:masterfrom
sundeep8967:fix/align-density-array-with-mailmap

Conversation

@sundeep8967

Copy link
Copy Markdown

Problem

In CustomAbundanceWidgetData.from_yml(), when parsing custom abundance and density configuration, the density array length could mismatch velocity shells, leading to ValueError during interpolation when adding new shells (#3666).

Solution

  • Align density array length to match velocity bounds in CustomAbundanceWidgetData.from_yml().
  • Add test coverage verifying proper alignment and avoiding interpolation failures.
  • Add entry to .mailmap per repository contribution guidelines.

Fixes #3666

…etData.from_yml

Fixes tardis-sn#3666 by ensuring that the density array length matches velocity in
CustomAbundanceWidgetData.from_yml(), preventing ValueError in interpolation
when adding new shells.

Signed-off-by: sundeep8967 <sundeep8967@gmail.com>
Signed-off-by: sundeep8967 <sundeep8967@gmail.com>
@sundeep8967
sundeep8967 force-pushed the fix/align-density-array-with-mailmap branch from e5a6443 to 5adb284 Compare November 27, 2026 10:48

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

Error when adding new shells in custom abundance widget

1 participant