Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
yakutovicha committed Nov 8, 2023
1 parent 4a978ab commit 32c08e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiidalab_widgets_base/viewers.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def atoms_in_representaion(self, structure: ase.Atoms | None = None):
if structure:
if self.uuid in structure.arrays:
return structure.arrays[self.uuid] >= self.atom_show_threshold
return None
return []

def nglview_parameters(self, indices):
"""Return the parameters dictionary of a representation."""
Expand Down

0 comments on commit 32c08e1

Please sign in to comment.