Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
javerbukh committed Sep 23, 2022
1 parent 6a11934 commit 055faac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jdaviz/core/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -692,11 +692,11 @@ def return_data_label(app, loaded_object, ext=None):
else:
data_label = "Unknown HDU object"
elif isinstance(loaded_object, Spectrum1D):
data_label = f"Spectrum1D"
data_label = "Spectrum1D"
elif isinstance(loaded_object, NDData):
data_label = f"NDData"
data_label = "NDData"
elif isinstance(loaded_object, np.array):
data_label = f"Array"
data_label = "Array"

if ext is not None:
data_label = data_label + f"[{ext}]"
Expand Down

0 comments on commit 055faac

Please sign in to comment.