Skip to content

Commit

Permalink
flake8 styling fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
gibsongreen committed Dec 21, 2023
1 parent c4675dd commit cf3d3f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jdaviz/configs/default/plugins/viewers.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,8 @@ def _expected_subset_layer_default(self, layer_state):
# Do not override default for subsets as for some reason
# this isn't getting called when they're first added, but rather when
# the next state change is made (for example: manually changing the visibility)
#layer_state = self._get_layer(msg.subset.label)
subset_type = get_subset_type(layer_state.layer)

if subset_type == 'spectral':
if self.__class__.__name__ == 'CubevizImageView':
# don't display images layers in flux/uncert-viewers if they're spectral
Expand Down

0 comments on commit cf3d3f5

Please sign in to comment.