This commit is contained in:
Axel Kohlmeyer
2018-02-05 14:55:26 +01:00
parent 669ae02a85
commit f914da62e0

View File

@ -406,7 +406,7 @@ class lammps(object):
# returned data is a 1d vector - doc how it is ordered? # returned data is a 1d vector - doc how it is ordered?
# NOTE: how could we insure are converting to correct Python type # NOTE: how could we insure are converting to correct Python type
# e.g. for Python list or NumPy, etc # e.g. for Python list or NumPy, etc
# ditto for extact_atom() above # ditto for extract_atom() above
def gather_atoms(self,name,type,count): def gather_atoms(self,name,type,count):
if name: name = name.encode() if name: name = name.encode()