Skip to content

Commit

Permalink
remove get_webbpsf_data_path compatibility layer
Browse files Browse the repository at this point in the history
  • Loading branch information
mperrin committed Dec 18, 2024
1 parent eff743f commit df4a7c9
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions stpsf/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@

_Strehl_perfect_cache = {} # dict for caching perfect images used in Strehl calcs.

# import deprecation decorator. This is in the standard library as of python 3.13,
# or available from typing_extensions backported to earlier versions
if sys.version_info >= (3, 13):
from warnings import deprecated
else:
from typing_extensions import deprecated


# Helper routines for logging: ###

Expand Down Expand Up @@ -294,11 +287,6 @@ def get_stpsf_data_path(data_version_min=None, return_version=False):
return str(path)


@deprecated("Use get_stpsf_data_path instead.")
def get_webbpsf_data_path(**kwargs):
""" Back compatibility alias, to support existing code that calls get_webbpsf_data_path"""
return get_stpsf_data_path()

DIAGNOSTIC_REPORT = """
OS: {os}
CPU: {cpu}
Expand Down

0 comments on commit df4a7c9

Please sign in to comment.