Skip to content

Commit

Permalink
Fixed code style errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
hpparvi committed Dec 1, 2024
1 parent 6194916 commit 9aecda5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion specreduce/calibration_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def load_MAST_calspec(
def load_onedstds(
dataset: str = "snfactory",
specfile: str = "EG131.dat",
cache : bool | Literal['update'] = True,
cache: bool | Literal['update'] = True,
show_progress: bool = False
) -> Spectrum1D | None:
"""
Expand Down
2 changes: 1 addition & 1 deletion specreduce/tests/test_specphot_stds.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def test_load_MAST():
@pytest.mark.remote_data
def test_load_MAST_bad_filename():
with pytest.warns(AstropyUserWarning, match="Downloading of"):
sp = load_MAST_calspec("j191b2b_005.fits", show_progress=False)
sp = load_MAST_calspec("j191b2b_005.fits", show_progress=False)
assert sp is None


Expand Down

0 comments on commit 9aecda5

Please sign in to comment.