Skip to content

Commit

Permalink
Fix bug in SpectrogramCube.__str__
Browse files Browse the repository at this point in the history
  • Loading branch information
DanRyanIrish committed Aug 27, 2021
1 parent 57d5217 commit f32591d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sunraster/spectrogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,9 @@ def celestial(self):
celestial_name = self._latitude_name
celestial_loc = self._latitude_loc
else:
raise ValueError("Celestial" + AXIS_NOT_FOUND_ERROR +
f"{SUPPORTED_LONGITUDE_NAMES + SUPPORTED_LATITUDE_NAMES}")
raise ValueError(
f"Celestial {AXIS_NOT_FOUND_ERROR} "
f"{np.concatenate([SUPPORTED_LONGITUDE_NAMES, SUPPORTED_LATITUDE_NAMES])}")
return self._get_axis_coord(celestial_name, celestial_loc)


Expand Down

0 comments on commit f32591d

Please sign in to comment.