Skip to content

Commit

Permalink
Merge branch 'main' into fix/945-if-requested-do-not-produce-output-data
Browse files Browse the repository at this point in the history
  • Loading branch information
yakutovicha authored Oct 10, 2024
2 parents 14c098d + 57e7463 commit 5a80c57
Show file tree
Hide file tree
Showing 7 changed files with 3,856 additions and 10 deletions.
3 changes: 3 additions & 0 deletions src/aiida_quantumespresso/cli/workflows/pw/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ def launch_workflow(
cutoff_wfc, cutoff_rho = pseudo_family.get_recommended_cutoffs(structure=structure, unit='Ry')

parameters = {
'CONTROL': {
'calculation': 'scf',
},
'SYSTEM': {
'ecutwfc': ecutwfc or cutoff_wfc,
'ecutrho': ecutrho or cutoff_rho,
Expand Down
4 changes: 3 additions & 1 deletion src/aiida_quantumespresso/parsers/parse_xml/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,9 @@ def parse_xml_post_6_2(xml):

num_k_points = band_structure['nks']
num_electrons = band_structure['nelec']
num_atomic_wfc = band_structure['num_of_atomic_wfc']

# In schema v240411 (QE v7.3.1), the `number_of_atomic_wfc` is moved to the `atomic_structure` tag as an attribute
num_atomic_wfc = band_structure.get('num_of_atomic_wfc', None) or outputs['atomic_structure']['@num_of_atomic_wfc']
num_bands = band_structure.get('nbnd', None)
num_bands_up = band_structure.get('nbnd_up', None)
num_bands_down = band_structure.get('nbnd_dw', None)
Expand Down
1,391 changes: 1,391 additions & 0 deletions src/aiida_quantumespresso/parsers/parse_xml/schemas/qes_240411.xsd

Large diffs are not rendered by default.

Loading

0 comments on commit 5a80c57

Please sign in to comment.