Skip to content

Commit 5d14b1d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b294468 commit 5d14b1d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/aiidalab_qe/common/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
PeriodicityEditor,
1010
ShakeNBreakEditor,
1111
)
12-
12+
1313
__all__ = [
1414
"AddingFixedAtomsEditor",
1515
"AddingTagsEditor",

src/aiidalab_qe/common/widgets.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,7 @@ def _reset_all_tags(self, _=None):
625625
self.input_selection = None
626626
self.input_selection = deepcopy(self.selection)
627627

628+
628629
class AddingFixedAtomsEditor(ipw.VBox):
629630
"""Editor for adding tags to atoms."""
630631

@@ -647,7 +648,11 @@ def __init__(self, title="", **kwargs):
647648
self.from_selection = ipw.Button(description="From selection")
648649
self.from_selection.on_click(self._from_selection)
649650
self.fixed = ipw.BoundedIntText(
650-
description="Fixed atoms", value=1, min=0, max=11, layout={"width": "initial"}
651+
description="Fixed atoms",
652+
value=1,
653+
min=0,
654+
max=11,
655+
layout={"width": "initial"},
651656
)
652657
self.add_fixed = ipw.Button(
653658
description="Update fixed atoms",

0 commit comments

Comments
 (0)