Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions news/deprecate_dbmolecules.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
**Added:**

* <news item>

**Changed:**

* <news item>

**Deprecated:**

* The DBMolecules class is deprecated and will be removed in the next major
release. See issue #149 for more details.

**Removed:**

* <news item>

**Fixed:**

* <news item>

**Security:**

* <news item>
9 changes: 8 additions & 1 deletion src/lomap/dbmol.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,13 @@ def __init__(
When using 'threed' option, if to translate the two molecules to superimpose before checking real space
alignment, default True
"""
warnings.warn(
"The DBMolecules class and related API is deprecated and will be removed in the next major release. "
"Please let us know if keeping this functionality is important to you, "
"see https://github.com/OpenFreeEnergy/Lomap/issues/149 for more details.",
category=DeprecationWarning,
)

# Set the Logging
if verbose == "off":
logging.basicConfig(format="%(message)s", level=logging.CRITICAL)
Expand Down Expand Up @@ -1154,7 +1161,7 @@ def startup():
# Emit user-facing warning that the CLI is deprecated and will be removed
warnings.warn(
"The dbmol CLI is deprecated and will be removed in the next major release. "
"Please let us know if you keeping this CLI entry point is important to you, "
"Please let us know if keeping this CLI entry point is important to you, "
"see https://github.com/OpenFreeEnergy/Lomap/issues/138 for more details.",
category=DeprecationWarning,
)
Expand Down
Loading