Skip to content

Fix recalculate_xyz failing#139

Merged
ZedThree merged 3 commits into
masterfrom
fix-options-warning
Jan 7, 2026
Merged

Fix recalculate_xyz failing#139
ZedThree merged 3 commits into
masterfrom
fix-options-warning

Conversation

@mikekryjak
Copy link
Copy Markdown
Contributor

@mikekryjak mikekryjak commented Jan 7, 2026

Floats were used for a np.linspace int input, and self.nz was undefined for non-3D cases.
This caused recalculate_xyz to fail every time when reading a 2D case, producing a warning.
Solves #138

I also fixed some Ruff warnings in View3D and datafile so that Ruff doesn't complain. These weren't part of this PR.

mikekryjak and others added 3 commits January 7, 2026 15:30
Floats were used for a Linspace int input, and self.nz was undefined for non-3D cases.
Copy link
Copy Markdown
Member

@ZedThree ZedThree left a comment

Choose a reason for hiding this comment

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

Thanks @mikekryjak!

@ZedThree ZedThree merged commit f5d308e into master Jan 7, 2026
9 checks passed
@ZedThree ZedThree deleted the fix-options-warning branch January 7, 2026 16:05
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.

2 participants