Dear all,
I am a new user of AiiDA, and was trying the example provided at 1. Quantum ESPRESSO — AiiDA Tutorials documentation
My issue is as follows:
After initializing the builder, attaching the structure element, and getting pseudos i.e.,
builder.structure = structure
pseudos = pseudo_family.get_pseudos(structure=structure)
pseudos
When I try to assign the pseudopotentials using
builder.pseudos = pseudos
The pseudopotentials are not being assigned.
Here is what I did:
In [12]: code = load_code(108)
...: builder=code.get_builder()
...: structure=load_node(109)
...: builder.structure=structure
...: pseudo_family = load_group('SSSP/1.3/PBE/efficiency')
In [13]: pseudos = pseudo_family.get_pseudos(structure=structure)
In [14]: builder.pseudos = pseudos
In [15]: pseudos
Out[15]: {'Si': <UpfData: uuid: d1e944a9-c320-41a2-b486-78f0ff7e759c (pk: 17)>}
In [16]: builder
Out[16]:
Process class: PwCalculation
Inputs:
code: qe-7.2@hpc2
metadata:
options:
stash: {}
monitors: {}
pseudos:
Si: ''
structure: Si
Suspecting this to be an issue with either the aiida-quantumespresso or the aiida-pseudo package, I have tried to reinstall both the packages from the latest version available at GitHub, but the issue still persists.
Further, the tests (using aiida-quantumespresso) related to PW also fail
================================= short test summary info ==================================
FAILED tests/calculations/test_pw.py::test_pw_validate_inputs_restart_base[scf]- TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED tests/calculations/test_pw.py::test_pw_validate_inputs_restart_base[relax]- TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED tests/calculations/test_pw.py::test_pw_validate_inputs_restart_base[vc-relax]- TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED tests/workflows/protocols/pw/test_base.py::test_overrides_key_check[overrides0-None]- TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED tests/workflows/protocols/pw/test_base.py::test_overrides_key_check[overrides1-None]- TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED tests/workflows/protocols/pw/test_base.py::test_overrides_key_check[overrides2-None]- TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED tests/workflows/protocols/pw/test_base.py::test_overrides_key_check[overrides3-None]- TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED tests/workflows/protocols/pw/test_base.py::test_overrides_key_check[overrides4-None]- TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED tests/workflows/protocols/pw/test_base.py::test_overrides_key_check[overrides5-None]- TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED tests/workflows/protocols/pw/test_relax.py::test_overrides_key_check[overrides0-None]- TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED tests/workflows/protocols/pw/test_relax.py::test_overrides_key_check[overrides1-None]- TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED tests/workflows/protocols/pw/test_relax.py::test_overrides_key_check[overrides2-None]- TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
============ 12 failed, 525 passed, 2 skipped, 43 warnings in 542.66s (0:09:02) ============
Could someone suggest how to fix this?