Skip to content

More docstrings - #33

Merged
Ickaser merged 4 commits into
LyoHUB:mainfrom
Ickaser:more-docs
Aug 8, 2026
Merged

More docstrings#33
Ickaser merged 4 commits into
LyoHUB:mainfrom
Ickaser:more-docs

Conversation

@Ickaser

@Ickaser Ickaser commented Aug 3, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR focuses on improving developer/user-facing documentation by expanding docstrings across the lyopronto simulation/optimization modules and revising README usage guidance.

Changes:

  • Added/expanded docstrings for several simulation, design-space, and optimization entrypoints.
  • Reworked README “How to Use This Code Directly” guidance and preserved the legacy CLI-based workflow description.
  • Cleaned up main.py by removing stale commented-out imports.

Reviewed changes

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

Show a summary per file
File Description
README.md Updates direct-usage guidance and adds legacy “original method” run instructions.
main.py Removes commented import block (cleanup only).
lyopronto/opt_Tsh.py Adds a dry() docstring describing the optimization output/inputs.
lyopronto/opt_Pch.py Adds a dry() docstring describing the optimization output/inputs.
lyopronto/opt_Pch_Tsh.py Adds a dry() docstring describing the joint optimization output/inputs.
lyopronto/high_level.py Expands execute_simulation() docstring (args/returns/raises).
lyopronto/freezing.py Adds a freeze() docstring.
lyopronto/design_space.py Replaces placeholder arg docs with more specific descriptions.
lyopronto/calc_unknownRp.py Adds a dry() docstring describing unknown-Rp workflow.
lyopronto/calc_knownRp.py Makes arg documentation more specific for known-Rp workflow.

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

Comment thread README.md
Comment thread README.md Outdated
Comment thread lyopronto/freezing.py
Comment thread lyopronto/calc_unknownRp.py
Comment thread lyopronto/opt_Tsh.py
Comment thread lyopronto/opt_Pch.py
Comment thread lyopronto/opt_Pch_Tsh.py
Comment thread lyopronto/design_space.py Outdated
Comment thread lyopronto/calc_knownRp.py Outdated
Comment thread lyopronto/high_level.py
@Ickaser
Ickaser merged commit c86d1d9 into LyoHUB:main Aug 8, 2026
3 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.

2 participants