Skip to content

Conversation

@ymzhang0
Copy link
Collaborator

@ymzhang0 ymzhang0 commented Dec 5, 2025

Update the help strings in EpwBaseWorkChain, EpwPrepWorkChain, SuperConWorkChain
to provide more detailed descriptions of the input parameters.

@ymzhang0 ymzhang0 requested a review from mbercx December 5, 2025 15:12
Copy link
Collaborator

@mbercx mbercx left a comment

Choose a reason for hiding this comment

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

Thanks @ymzhang0! Looks great, just some minor nitpicks and a question if we should avoid adding some more technical details to the help for the inputs.

valid_type=(orm.RemoteData, orm.SinglefileData),
help=(
"A Julia script that converts the Wannier90 output files "
"(`prefix.chk`, `prefix.mmn`, ...) to the `epw.x` input format. This script is executed "
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we add the file suffix here? It's .ukk, no? (based on the input name ^^)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Actually, for the latest version EPW>v6.0, not only .chk should be converted to .ukk, but also .mmn should be adapted a bit. So, I modified the .jl script for that. I tried to clarify this in the new commit. Maybe you can check if it's good.

namespace_options={
"help": "Inputs for the final isotropic `EpwBaseWorkChain`."
"help": (
"Inputs for the final `EpwBaseWorkChain` that performs the `epw.x` calculation for the isotropic Migdal-Eliashberg equation. "
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmm, strange that this passed the pre-commit. The line here is definitely too long. I think the default max line length should be 120 with Hatch.

clean up those `help` strings with unnecessarily technical information.
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