Skip to content

Bugfix/crop ptychogram - #103

Merged
ShantanuKodgirwar merged 2 commits into
PtyLab:mainfrom
cliulucien:bugfix/crop-ptychogram
Sep 23, 2026
Merged

ShantanuKodgirwar merged 2 commits into
PtyLab:mainfrom
cliulucien:bugfix/crop-ptychogram

Conversation

@cliulucien

Copy link
Copy Markdown

This fixes a bug of the inconsistency of calculated attributes after reduce ptycho position and/or cropcenter. It added _setData() within each function, so that users don't need to apply _setData() externally.

A test is also added to verify the bug is fixed.

@ShantanuKodgirwar ShantanuKodgirwar added the bug Something isn't working label Sep 23, 2026
@ShantanuKodgirwar

Copy link
Copy Markdown
Contributor

LGTM! Ready to merge.

@ShantanuKodgirwar
ShantanuKodgirwar merged commit b5be11e into PtyLab:main Sep 23, 2026
3 checks passed
@cliulucien
cliulucien deleted the bugfix/crop-ptychogram branch September 23, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants