Skip to content

Commit

Permalink
Move resetting of spin_orbit to the basic settings model
Browse files Browse the repository at this point in the history
  • Loading branch information
edan-bainglass committed Feb 3, 2025
1 parent 4dd3741 commit adf2935
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/aiidalab_qe/app/configuration/advanced/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ def reset(self):
self.scf_conv_thr = self._get_default("scf_conv_thr")
self.scf_conv_thr_step = self._get_default("scf_conv_thr_step")
self.electron_maxstep = self._get_default("electron_maxstep")
self.spin_orbit = self._get_default("spin_orbit")
self.kpoints_distance = self._get_default("kpoints_distance")
self.optimization_maxsteps = self._get_default("optimization_maxsteps")

Expand Down
1 change: 1 addition & 0 deletions src/aiidalab_qe/app/configuration/basic/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,4 @@ def reset(self):
self.protocol = self.traits()["protocol"].default_value
self.spin_type = self.traits()["spin_type"].default_value
self.electronic_type = self.traits()["electronic_type"].default_value
self.spin_orbit = self.traits()["spin_orbit"].default_value

0 comments on commit adf2935

Please sign in to comment.