From cf1ae7afa60bc69af7c61965f8ac7902cfae04bd Mon Sep 17 00:00:00 2001 From: Richard Berger Date: Thu, 17 Sep 2020 17:04:40 -0400 Subject: [PATCH] Use wrapper lammps.extract_atom_datatype --- python/lammps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lammps.py b/python/lammps.py index a39d96c69d..20a58c7833 100644 --- a/python/lammps.py +++ b/python/lammps.py @@ -1012,7 +1012,7 @@ class lammps(object): :rtype: pointer to integer or double or None """ if dtype == LAMMPS_AUTODETECT: - dtype = self.lib.lammps_extract_atom_datatype(self.lmp, name) + dtype = self.extract_atom_datatype(name) if name: name = name.encode() else: return None