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

Match scale with the image/labels #3

Merged
merged 2 commits into from
Jun 19, 2024
Merged

Conversation

ilyasdc
Copy link
Contributor

@ilyasdc ilyasdc commented Jun 19, 2024

If the image masks contain pixel size, napari modifies the scale factor upon loading. Your plugin doesn't take into account this scale factor, this PR fixes that (entirely, I hope)

@maweigert
Copy link
Contributor

maweigert commented Jun 19, 2024

Good catch, thanks a lot for doing the PR directly! (I did some minor changes)

@ilyasdc
Copy link
Contributor Author

ilyasdc commented Jun 19, 2024

Sure, it's much easier now to do small PR with the github editor !

@ilyasdc ilyasdc closed this Jun 19, 2024
@ilyasdc ilyasdc deleted the patch-1 branch June 19, 2024 09:25
@maweigert
Copy link
Contributor

It is! Maybe too easy, as I think the patch got deleted before I could merge it :)

@ilyasdc ilyasdc restored the patch-1 branch June 19, 2024 09:27
@ilyasdc
Copy link
Contributor Author

ilyasdc commented Jun 19, 2024

It is! Maybe too easy, as I think the patch got deleted before I could merge it :)

Well, maybe I should learn how it works then🤦
I undeleted the fork, is it working now ?

@ilyasdc ilyasdc reopened this Jun 19, 2024
@maweigert maweigert merged commit 1533a77 into weigertlab:main Jun 19, 2024
0 of 7 checks passed
@maweigert
Copy link
Contributor

it is, perfect! Thanks!!

@ilyasdc ilyasdc deleted the patch-1 branch June 19, 2024 09:31
@bentaculum
Copy link
Member

Thanks @ilyasdc 🚀

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.

3 participants