Skip to content

Commit

Permalink
Added a deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ceriottm committed Nov 12, 2024
1 parent db47943 commit e53ed94
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ipi/engine/forcefields.py
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,14 @@ def __init__(
"""

warning(
"""
<ffyaff> is deprecated and might be removed in a future release of i-PI.
If you are interested in using it, please help port it to the PES
infrastructure.
"""
)

from yaff import System, ForceField, log
import codecs
import locale
Expand Down Expand Up @@ -1008,6 +1016,14 @@ def __init__(
"""

warning(
"""
<ffsgdml> is deprecated and might be removed in a future release of i-PI.
If you are interested in using it, please help port it to the PES
infrastructure.
"""
)

# a socket to the communication library is created or linked
super(FFsGDML, self).__init__(
latency, offset, name, pars, dopbc, threaded=threaded
Expand Down

0 comments on commit e53ed94

Please sign in to comment.