Skip to content

Commit

Permalink
Fix codestyle errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rosteen committed Feb 13, 2024
1 parent 5da6e0e commit 1fdb4a2
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions specutils/io/default_loaders/sdss_v.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Register reader functions for various spectral formats."""
from collections import OrderedDict
from typing import Optional

import numpy as np
Expand All @@ -22,8 +21,6 @@
"load_sdss_mwm_list",
]

## IDENTIFIER


def apVisit_identify(origin, *args, **kwargs):
"""
Expand Down Expand Up @@ -88,7 +85,6 @@ def mwm_identify(origin, *args, **kwargs):
and (isinstance(hdulist[i], BinTableHDU) for i in range(1, 5)))


## HELPERS
def _wcs_log_linear(naxis, cdelt, crval):
"""
Convert WCS from log to linear.
Expand Down Expand Up @@ -122,7 +118,7 @@ def _fetch_flux_unit(hdu):
return Unit(flux_unit)


## APOGEE files
# APOGEE files
@data_loader(
"SDSS-V apStar",
identifier=apStar_identify,
Expand Down Expand Up @@ -314,8 +310,7 @@ def load_sdss_apVisit_list(file_obj, **kwargs):
return spectra


## BOSS REDUX products (specLite, specFull, custom coadd files, etc)

# BOSS REDUX products (specLite, specFull, custom coadd files, etc)

@data_loader(
"SDSS-V spec",
Expand Down Expand Up @@ -430,7 +425,7 @@ def _load_BOSS_HDU(hdulist: HDUList, hdu: int, **kwargs):
meta=meta)


## MWM LOADERS
# MWM LOADERS
@data_loader(
"SDSS-V mwm",
identifier=mwm_identify,
Expand Down

0 comments on commit 1fdb4a2

Please sign in to comment.