Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Collapse 3D y before calculating initial model guess for gaussian model #3295

Merged
merged 4 commits into from
Nov 15, 2024

Conversation

rosteen
Copy link
Collaborator

@rosteen rosteen commented Nov 15, 2024

Fixes a traceback that was occurring when adding a Gaussian model component with Cube Fit toggled on.

@rosteen rosteen added bug Something isn't working 💤backport-v4.0.x on-merge: backport to v4.0.x labels Nov 15, 2024
@rosteen rosteen added this to the 4.0.1 milestone Nov 15, 2024
@github-actions github-actions bot added the plugin Label for plugins common to multiple configurations label Nov 15, 2024
@camipacifici
Copy link
Contributor

Problem solved, thank you!

Copy link

codecov bot commented Nov 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.80%. Comparing base (f715ffe) to head (2f1eee1).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3295   +/-   ##
=======================================
  Coverage   88.80%   88.80%           
=======================================
  Files         125      125           
  Lines       19009    19011    +2     
=======================================
+ Hits        16881    16883    +2     
  Misses       2128     2128           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rosteen rosteen added the trivial Only needs one approval instead of two label Nov 15, 2024
Copy link
Contributor

@haticekaratay haticekaratay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested in Cubeviz and did not see a traceback. Looks good to me!

@rosteen rosteen merged commit 5d04203 into spacetelescope:main Nov 15, 2024
24 of 25 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/jdaviz that referenced this pull request Nov 15, 2024
kecnry pushed a commit that referenced this pull request Nov 15, 2024
…ss for gaussian model (#3297)

Co-authored-by: Ricky O'Steen <39831871+rosteen@users.noreply.github.com>
@pllim
Copy link
Contributor

pllim commented Nov 15, 2024

Interesting to note that a similar patch was done in the same module in #3190 but in a different class. Hmm.

@rosteen
Copy link
Collaborator Author

rosteen commented Nov 15, 2024

Yeah, I'm not sure why I didn't think to put it here as well then.

@pllim
Copy link
Contributor

pllim commented Nov 15, 2024

No worries. Looks like test coverage wasn't great either, so not surprised it got through. Just a perfect storm.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working plugin Label for plugins common to multiple configurations trivial Only needs one approval instead of two 💤backport-v4.0.x on-merge: backport to v4.0.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants