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

Disable astrowidgets pixel marking when WCS linked (PR to PR 14 to PR 2179) #5

Closed

Conversation

pllim
Copy link

@pllim pllim commented Nov 3, 2023

Description

This pull request is to address adding markers in pixel space breaking when there is rotation layer. Markers added with SkyCoord already satisfies "marks should adjust to a change in orientation layer" (see screenshots below).

This is a PR to:

that is a PR to:

I fixed the one test failure I know is caused by my change here. When I ran the full test suite locally, there were several other test failures that look like they are from different parts of the code, but the PR 2179 branch is also outdated compared to latest main, so some of those maybe already fixed in main, so the PR 2179 branch should be rebased first before fixing the tests.

Default orientation

N-up E-left

🐱

@pllim pllim requested a review from kecnry as a code owner November 3, 2023 00:50
@github-actions github-actions bot added the imviz label Nov 3, 2023
@kecnry
Copy link
Owner

kecnry commented Nov 3, 2023

does this address whether a given entry should or should not be in the data menu (or removed when changing from pixel->WCS linking)? Or is the plan to put that directly in bmorris3#14 and rebase this on top of that once that is merged?

@pllim
Copy link
Author

pllim commented Nov 3, 2023

does this address whether a given entry should or should not be in the data menu (or removed when changing from pixel->WCS linking)?

Data menu is irrelevant here. If it is not allowed, it won't be loaded in the first place. Once loaded, changing the linking type is disabled until all markers are removed. The latter is an existing behavior and if we end up moving to using a list of regions, also irrelevant.

@kecnry
Copy link
Owner

kecnry commented Nov 3, 2023

So is bmorris3#14 (comment) no longer a concern? If you add another viewer is the "+" button enabled/disabled as you'd expect?

@pllim
Copy link
Author

pllim commented Nov 3, 2023

no longer a concern?

I can't keep track of what happened but Imviz now let me load the tables. Did you change the logic or something?

@kecnry kecnry force-pushed the wcs-only-data-menu-fixes branch from d1ab573 to c33b10e Compare November 3, 2023 15:41
@pllim
Copy link
Author

pllim commented Nov 3, 2023

@kecnry , I see that you force pushed and now my diff also has your other changes. Is this intentional?

@kecnry
Copy link
Owner

kecnry commented Nov 3, 2023

I thought the discussed plan was to get bmorris3#14 in and then re-open your branch on top of that (instead of PR to PR to PR)

@pllim
Copy link
Author

pllim commented Nov 3, 2023

Yeah... I didn't think that plan include force pushing to my branch so soon. I thought I would just rebase on top of Brett's branch after your PR is merged, which has not happened yet.

@kecnry
Copy link
Owner

kecnry commented Nov 3, 2023

I did not force push to your branch, just the base branch (wcs-only-data-menu-fixes)

@pllim
Copy link
Author

pllim commented Nov 3, 2023

Oh, sorry. I misunderstood the message on GitHub. Anyway, I can figure this out later after your PR is merged.

@kecnry kecnry deleted the branch kecnry:wcs-only-data-menu-fixes November 3, 2023 18:45
@pllim
Copy link
Author

pllim commented Nov 3, 2023

Gonna close this and open against Brett's branch.

@pllim
Copy link
Author

pllim commented Nov 3, 2023

This is now bmorris3#16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants