From 7af6ce39f7524e9225915525e6683c33b3974dfa Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Sun, 25 Feb 2024 16:59:18 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Han Wang <92130845+wanghan-iapcm@users.noreply.github.com> Signed-off-by: Jinzhe Zeng --- deepmd/pt/model/model/model.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deepmd/pt/model/model/model.py b/deepmd/pt/model/model/model.py index 2196a3ea17..ba2f2cb1e1 100644 --- a/deepmd/pt/model/model/model.py +++ b/deepmd/pt/model/model/model.py @@ -156,15 +156,15 @@ def compute_or_load_stat( @abstractmethod def get_model_def_script(self) -> str: """Get the model definition script.""" - raise NotImplementedError + pass @abstractmethod def get_nnei(self) -> int: """Returns the total number of selected neighboring atoms in the cut-off radius.""" # for C++ interface - raise NotImplementedError + pass @abstractmethod def get_nsel(self) -> int: """Returns the total number of selected neighboring atoms in the cut-off radius.""" - raise NotImplementedError + pass