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

Fix bug with creating PBPMap from multi-layer TensorMap #350

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

jadball
Copy link
Contributor

@jadball jadball commented Nov 12, 2024

Unlikely to have caused problems in current usage - regular notebook workflow doesn't initiate a refinement from a TensorMap with more than one z layer (z stacking comes later). In the previous code, mi was always 0, because recon_index_to_map (correctly) defaults to a 2D slice. We should be checking the self.phase_ids phase mask at the user-supplied z_layer value rather than 0.

@jadball jadball changed the title Fig bug with creating PBPMap from multi-layer TensorMap Fix bug with creating PBPMap from multi-layer TensorMap Nov 12, 2024
@jadball jadball merged commit 1a4388a into FABLE-3DXRD:master Nov 12, 2024
6 checks passed
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.

1 participant