diff --git a/src/vtk.py b/src/vtk.py index 1ae2fac..63e4f20 100644 --- a/src/vtk.py +++ b/src/vtk.py @@ -313,7 +313,7 @@ def particleGran(file,atoms,names,n_values): f = open(file,"w") # if no atoms are present - if atoms == None: + if atoms is None: atoms = [] # find indices of scalars and vectors