We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2df8622 + 288bea4 commit 95b37d2Copy full SHA for 95b37d2
webbpsf/__init__.py
@@ -36,3 +36,7 @@
36
37
sys.modules["webbpsf"] = stpsf
38
os.environ["STPSF_PATH"] = os.environ.get("WEBBPSF_PATH", "")
39
+
40
+ # Add a back-compatibility alias for a function whose name changed during the migration
41
+ # This prevents failure of legacy code calls to webbpsf.utils.get_webbpsf_data_path()
42
+ stpsf.utils.get_webbpsf_data_path = stpsf.utils.get_stpsf_data_path
0 commit comments