Skip to content

Fix/optional band output - #57

Merged
zhubonan merged 3 commits into
MCresearch:developfrom
stillfast:fix/optional-band-output
Jun 15, 2026
Merged

zhubonan merged 3 commits into
MCresearch:developfrom
stillfast:fix/optional-band-output

Conversation

@stillfast

Copy link
Copy Markdown
Contributor

Fix: Make band_structure output optional when run_bands is false

liguozhou added 3 commits June 3, 2026 07:28
…ern warning

Detect "Lattice relaxation is not converged yet" (cell-relax) in addition to
the existing "Relaxation is not converged" (relax) pattern, so that cell-relax
calculations reaching maximium ionic steps properly emit exit code 303.

Also skip glob patterns (e.g. STRU_ION*_D) in the missing-files check, since
get_object() does exact name matching and glob entries always appear missing.
…elax calculations

Cell-relax calculations output "Lattice relaxation is converged!" (lowercase 'r')
instead of "Relaxation is converged!". Make the regex handle both forms,
consistent with the existing ionic_not_converged pattern.
… false

When band_settings.run_bands is set to false (only run_dos: true),
the workchain should not require the band_structure output.
This fixes exit code 11 (required output not registered) for
configurations that only compute DOS without band structure.

@zhubonan zhubonan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@zhubonan
zhubonan merged commit 8248930 into MCresearch:develop Jun 15, 2026
3 checks passed
@stillfast
stillfast deleted the fix/optional-band-output branch June 15, 2026 06:38
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