Skip to content

Commit

Permalink
update warning
Browse files Browse the repository at this point in the history
  • Loading branch information
BradleySappington committed Dec 19, 2024
1 parent 53806a8 commit 320da5d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions webbpsf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@


_warned = False

# TODO SAPP - update [READTHEDOCS_PAGE_TBD] to be correct location once created
if not _warned:
warnings.warn(
""""
WebbPSF functionality has now migrated to STPSF. Please see https://stpsf.readthedocs.io for more info
This message is for information only and WebbPSF will continue to function as normal.
The WebbPSF library has been moved/renamed to STPSF. Please see [READTHEDOCS_PAGE_TBD] for more information.
WebbPSF is now an alias of STPSF and is running code from the STPSF library.
""",
DeprecationWarning,
stacklevel=2, # Shows the webbpsf import code
Expand Down

0 comments on commit 320da5d

Please sign in to comment.