From e53ed94f4caabfd4b8a9753ae28350228c2eb784 Mon Sep 17 00:00:00 2001 From: Michele Ceriotti Date: Tue, 12 Nov 2024 12:01:55 +0100 Subject: [PATCH] Added a deprecation warning --- ipi/engine/forcefields.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ipi/engine/forcefields.py b/ipi/engine/forcefields.py index 27576d5a4..b8a5f830c 100644 --- a/ipi/engine/forcefields.py +++ b/ipi/engine/forcefields.py @@ -916,6 +916,14 @@ def __init__( """ + warning( + """ + 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 @@ -1008,6 +1016,14 @@ def __init__( """ + warning( + """ + 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