Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve default label string for process label #811

Closed
superstar54 opened this issue Sep 26, 2024 · 0 comments · Fixed by #836
Closed

Improve default label string for process label #811

superstar54 opened this issue Sep 26, 2024 · 0 comments · Fixed by #836
Assignees
Labels
enhancement New feature or request

Comments

@superstar54
Copy link
Member

slightly improve default label string "AsGa structure is not relaxed , properties on bands, pdos” as follows:

  • Note: code is here:
    def _update_process_label(self) -> dict:
  • Old string: "AsGa structure is not relaxed , properties on bands, PDOS”
  • New string: “AsGa (not relaxed, fast protocol) + bands, PDOS”
    Strings for other input options:
    • AsGa (relax: atoms+cell, moderate protocol, magnetic) + phonons
    • AsGa (relax: atoms only, precise protocol)
  • Be careful not to leave too many or too few spaces!
  • Note: always capitalize PDOS everywhere in the GUI as well
@superstar54 superstar54 added the enhancement New feature or request label Sep 26, 2024
mikibonacci added a commit to mikibonacci/aiidalab-qe that referenced this issue Oct 2, 2024
Following the guidelines in aiidalab#811
mikibonacci added a commit that referenced this issue Oct 3, 2024
* Process label improved

Following the guidelines in #811

* Minimal test for the process label generation.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Now structure label will be put instead of formula

The two will coincide if the user does not modify the default label.
Also, if by mistake the user provides an empty label, automatically the job
label will use the structure formula.

* Added tests for label and empty label.

* Modified PDOS checkbox

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants