Skip to content

Commit

Permalink
Merge pull request #457 from mj-will/nessai-gw-warning
Browse files Browse the repository at this point in the history
MAINT: add warning about nessai.gw
  • Loading branch information
mj-will authored Feb 5, 2025
2 parents 8d19dc1 + 1af637f commit b80078e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/nessai/gw/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
Functions and classes for using nessai for gravitational-wave inference.
"""

import warnings

from .proposal import GWFlowProposal

__all__ = ["GWFlowProposal"]

warnings.warn(
(
"The `nessai.gw` module will be deprecated in the next release in "
"favour of the nessai-gw package. This packages provides the same "
"functionality as`nessai.gw` via the plugin interface."
"For more details, see: https://github.com/mj-will/nessai-gw"
),
FutureWarning,
)

0 comments on commit b80078e

Please sign in to comment.