Skip to content

Fix format issue preventing fields from appearing in BeamDyn YAML summary file#3366

Merged
andrew-platt merged 3 commits into
OpenFAST:rc-5.0.1from
andrew-platt:b/BD_yaml
Jun 17, 2026
Merged

Fix format issue preventing fields from appearing in BeamDyn YAML summary file#3366
andrew-platt merged 3 commits into
OpenFAST:rc-5.0.1from
andrew-platt:b/BD_yaml

Conversation

@andrew-platt

@andrew-platt andrew-platt commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Ready to merge

Feature or improvement description
Update AllFmt format strings in BeamDyn_IO.f90 for Init_Nodes and Init_QP were missing a comma at the end. This was preventing writing of this information.

Also removed redundant format statement from yaml_write_array2R[48]

Related issue, if one exists
Reported internally

Impacted areas of the software
BeamDyn summary file only

Additional supporting information
It's unclear if this ever worked correctly.

Generative AI usage
Attempted to generate the commit message by ai. It really didn't understand the changes at all.

Test results, if applicable
No changes

…mary file

Update AllFmt format strings in BeamDyn_IO.f90 for Init_Nodes and Init_QP
arrays to use proper spacing and trailing comma in Fortran format specs.
This was preventing writing of this information.

Remove redundant format statement from yaml_write_array2R[48]

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Fixes formatting in BeamDyn YAML summary output so that initialization node and quadrature-point fields are written correctly.

Changes:

  • Update AllFmt format strings used by BeamDyn_IO.f90 when writing Init_Nodes and Init_QP.
  • Remove a previously-used level indentation prefix on the key/header line in yaml_write_array2R4/2R8 (but this introduces an indentation regression when level is used).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
modules/nwtc-library/src/YAML.f90 Adjusts 2D real-array YAML writer formatting; currently drops header/key indentation when level is provided.
modules/beamdyn/src/BeamDyn_IO.f90 Fixes AllFmt strings used for Init_Nodes_E* and Init_QP_E* YAML output so these arrays are emitted.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread modules/nwtc-library/src/YAML.f90
Comment thread modules/nwtc-library/src/YAML.f90
I missed the usage of it right afterwards

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 2 changed files in this pull request and generated no new comments.

@andrew-platt andrew-platt merged commit 2661242 into OpenFAST:rc-5.0.1 Jun 17, 2026
13 checks passed
@andrew-platt andrew-platt deleted the b/BD_yaml branch June 17, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants