Skip to content

Commit

Permalink
PBEsol as default for SOC (#951)
Browse files Browse the repository at this point in the history
* PBEsol as default for SOC
  • Loading branch information
AndresOrtegaGuerrero authored Nov 28, 2024
1 parent 3720501 commit 577b681
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/aiidalab_qe/app/configuration/advanced/pseudos/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,9 @@ def update_family_parameters(self):
return
if self.spin_orbit == "soc":
if self.protocol in ["fast", "moderate"]:
pseudo_family_string = "PseudoDojo/0.4/PBE/FR/standard/upf"
pseudo_family_string = "PseudoDojo/0.4/PBEsol/FR/standard/upf"
else:
pseudo_family_string = "PseudoDojo/0.4/PBE/FR/stringent/upf"
pseudo_family_string = "PseudoDojo/0.4/PBEsol/FR/stringent/upf"
else:
pseudo_family_string = PwBaseWorkChain.get_protocol_inputs(self.protocol)[
"pseudo_family"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_pseudo.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def test_pseudos_settings(generate_structure_data, generate_upf_data):
# Test spin-orbit-dependent family change
model.spin_orbit = "soc"
model.protocol = "moderate"
assert model.family == f"PseudoDojo/{PSEUDODOJO_VERSION}/PBE/FR/standard/upf"
assert model.family == f"PseudoDojo/{PSEUDODOJO_VERSION}/PBEsol/FR/standard/upf"

# Reset the external dependencies of the model
model.spin_orbit = "wo_soc"
Expand Down

0 comments on commit 577b681

Please sign in to comment.