Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Backport PR #2736 on branch v4.1.x (adjusting links to enable pixel, wavelength linking in specviz2d) #3436

Open
wants to merge 1 commit into
base: v4.1.x
Choose a base branch
from

Conversation

meeseeksmachine
Copy link

Backport PR #2736: adjusting links to enable pixel, wavelength linking in specviz2d

@lumberbot-app lumberbot-app bot added this to the 4.1.2 milestone Feb 12, 2025
@lumberbot-app lumberbot-app bot added bug Something isn't working Ready for final review labels Feb 12, 2025
@lumberbot-app lumberbot-app bot added the backport-v4.1.x on-merge: backport to v4.1.x label Feb 12, 2025
@@ -759,8 +759,22 @@ def _link_new_data(self, reference_data=None, data_to_be_linked=None):
linked_data.ndim < 3 and # Cube linking requires special logic. See below
ref_data.ndim < 3)
):
links = [LinkSame(linked_data.components[0], ref_data.components[0]),
LinkSame(linked_data.components[1], ref_data.components[1])]
if self.config == 'specviz2d':
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm does this render #3434 unnecessary? Did you see if the modeling bug went away only with this patch?

Copy link

codecov bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.08%. Comparing base (b94f2d7) to head (8b88757).

Additional details and impacted files
@@           Coverage Diff           @@
##           v4.1.x    #3436   +/-   ##
=======================================
  Coverage   88.08%   88.08%           
=======================================
  Files         127      127           
  Lines       19601    19608    +7     
=======================================
+ Hits        17265    17272    +7     
  Misses       2336     2336           

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-v4.1.x on-merge: backport to v4.1.x bug Something isn't working Ready for final review specviz2d
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants