Skip to content

Commit

Permalink
adding TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bmorris3 committed May 4, 2023
1 parent 1d00658 commit cdf83a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lcviz/viewers.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ def __init__(self, *args, **kwargs):
def data(self, cls=None):
data = []

# TODO: generalize upstream in jdaviz.
# This method is generalized from
# jdaviz/configs/specviz/plugins/viewers.py
# to support non-spectral viewers.
for layer_state in self.state.layers:
if hasattr(layer_state, 'layer'):
lyr = layer_state.layer
Expand Down

0 comments on commit cdf83a6

Please sign in to comment.