equi: write average position in out.lmp when if_dump_avg_posi=True#90
equi: write average position in out.lmp when if_dump_avg_posi=True#90Yi-FanLi merged 5 commits intodeepmodeling:develfrom
Conversation
for more information, see https://pre-commit.ci
📝 WalkthroughWalkthroughThe changes update the function signatures in Changes
Sequence Diagram(s)sequenceDiagram
participant U as User/CLI
participant L as gen_equi_lammps_input
participant E as gen_equi_ensemble_settings
participant T as make_task
U->>L: Provide simulation configuration (no --avg-posi)
L->>E: Call gen_equi_ensemble_settings(ens, if_dump_avg_posi)
E-->>L: Return ensemble settings string
L->>T: Call make_task(..., npt_dir)
T-->>L: Confirm task creation
L-->>U: Return simulation input configuration
Tip ⚡🧪 Multi-step agentic review comment chat (experimental)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (2)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
…eepmodeling#90) * avoid reading --avg-posi from cmd line; only read it from json * write average position in out.lmp if if_dump_avg_posi=True * support writing average position in out.lmp if if_dump_avg_posi=True * improve indentation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
When the user sets
if_dump_avg_posi=True, write the average position inout.lmp.Summary by CodeRabbit