Skip to content

Commit

Permalink
Merge pull request #97 from brainglobe/pre-commit-fix
Browse files Browse the repository at this point in the history
Conform to new linting rules
  • Loading branch information
alessandrofelder authored Aug 7, 2024
2 parents 6044656 + e7d448b commit c34b39a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brainglobe_utils/brainmapper/transform_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def _get_layer_names(
layer_names = [
layer.name
for layer in self.viewer.layers
if type(layer) == layer_type
if isinstance(layer, layer_type)
]

if layer_names:
Expand Down

0 comments on commit c34b39a

Please sign in to comment.