Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
HydroDyn's
PropPotcolumn expects logical tokens. When a caller puts a Pythonboolornumpy.bool_in a mixed table, the formatter treats it as a number and writes1or0.Format boolean cells as
TrueorFalsebefore numeric formatting. The regression test edits theMemberstable in the existing HydroDyn fixture, writes it throughFASTInputFile.write(), and reads it back. It covers both boolean types and checks the other cells in the table.Closes #35. Thanks to the reporter for identifying the formatter and the OpenFAST input error.
Validation
main(d986c9a), where the four flags read back as1,0,1,0.python -m unittest discover -v.git diff --checkpassed.CI follow-up
The Ubuntu job could not install Python 3.9 and the other four jobs were cancelled. On Windows with pandas 3.1.1, the full suite hit the same 11 errors on
mainand this branch. With the runner and pandas fixes from #90 applied locally alongside this change, all 95 tests passed using Python 3.12 and pandas 3.1.1. CI runThis contribution was prepared with assistance from OpenAI Codex.