Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 23, 2024
1 parent ee13a80 commit ba84bd5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aiidalab_widgets_base/viewers.py
Original file line number Diff line number Diff line change
Expand Up @@ -723,8 +723,7 @@ def _observe_cell(self, _=None):
if cell_label:
self.cell_volume.value = f"Cell {cell_label[0]}: {dimension_data['value']:.4f} ({cell_label[1]})"
else:
self.cell_volume.value = f"Cell volume: -"

self.cell_volume.value = "Cell volume: -"

else:
self.cell_a.value = "<i><b>a</b></i>:"
Expand Down

0 comments on commit ba84bd5

Please sign in to comment.