Skip to content

Commit

Permalink
do a reset if the structure is none
Browse files Browse the repository at this point in the history
  • Loading branch information
AndresOrtegaGuerrero committed Dec 6, 2024
1 parent baa9d5a commit 5fc101f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aiidalab_qe_vibroscopy/app/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def _get_default(self, trait):

def on_input_structure_change(self, _=None):
if not self.input_structure:
self._get_default()
self.reset()

else:
self.disable_x, self.disable_y, self.disable_z = True, True, True
Expand Down

0 comments on commit 5fc101f

Please sign in to comment.