Skip to content

Commit 77a5590

Browse files
committed
adding supercell_xyz observer
1 parent b4377ad commit 77a5590

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/aiidalab_qe_vibroscopy/app/settings.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,12 @@ def render(self):
167167
],
168168
)
169169

170+
for direction in [self.supercell_x, self.supercell_y, self.supercell_z]:
171+
direction.observe(
172+
self._model.on_supercell_change,
173+
"value",
174+
)
175+
170176
## start supercell hint:
171177

172178
# supercell data

0 commit comments

Comments
 (0)