Skip to content

Commit

Permalink
Simplify warning
Browse files Browse the repository at this point in the history
  • Loading branch information
BradleySappington committed Dec 18, 2024
1 parent f35f759 commit 53806a8
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions webbpsf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,7 @@
if not _warned:
warnings.warn(
""""
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
This message is for information only and WebbPSF will continue to function as normal:
THE WEBBPSF LIBRARY HAS BEEN MOVED
All existing WebbPSF functionality has been migrated to the newly made STPSF repository.
If you would like to switch to the new repository:
Please update your code to use STPSF instead of WebbPSF.
https://github.com/spacetelescope/stpsf
or
pip install stpsf
STPSF Functionality is currently the same as WebbPSF, only the name is different.
WebbPSF is now an alias of STPSF and is running code from the STPSF library.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WebbPSF functionality has now migrated to STPSF. Please see https://stpsf.readthedocs.io for more info
""",
DeprecationWarning,
stacklevel=2, # Shows the webbpsf import code
Expand Down

0 comments on commit 53806a8

Please sign in to comment.