Skip to content

Made phase_info.py file, generated by Mission GUI, more readable#1217

Open
hschilling wants to merge 2 commits into
OpenMDAO:mainfrom
hschilling:IA576-mission-gui-illegible
Open

Made phase_info.py file, generated by Mission GUI, more readable#1217
hschilling wants to merge 2 commits into
OpenMDAO:mainfrom
hschilling:IA576-mission-gui-illegible

Conversation

@hschilling

Copy link
Copy Markdown
Member

Summary

The outputted_phase_info.py file created by the Mission GUI was not very readable. Was difficult to make it readable using external tools so wrote a pure Python script to make it readable.

Related Issues

Backwards incompatibilities

None

AI Usage

Use Claude Code to get initial idea for code to do formatting.

…tter

Remove external tool dependencies (ruff, autopep8) and stdlib pprint
in create_phase_info by introducing _format_phase_info_value, which
produces consistently readable output without requiring any installed
formatters.
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.

Mission GUI generated phase_info is illegible

1 participant