Skip to content

Commit

Permalink
codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Dec 10, 2024
1 parent d9a40a8 commit 2c5741f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jdaviz/configs/imviz/plugins/footprints/footprints.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def only_jwst(item):
return item['label'] == 'From File...' or item.get('observatory') == 'JWST'

def only_roman(item):
return item['label'] == 'From File...' or item.get('observatory') == 'Roman'
return item['label'] == 'From File...' or item.get('observatory') == 'Roman'

if self.preset_obs_selected == 'JWST':
self.preset.filters = [only_jwst]
Expand Down
3 changes: 2 additions & 1 deletion jdaviz/core/template_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,8 @@ def _update_items(self, msg={}):

try:
self._apply_default_selection()
except: pass
except ValueError:
pass

@property
def viewer_dicts(self):
Expand Down

0 comments on commit 2c5741f

Please sign in to comment.