From 37e8e54f411946a1bc5800c97dfbc78e58879083 Mon Sep 17 00:00:00 2001 From: Andreas Aigner Date: Sat, 11 Jun 2016 09:46:33 +0200 Subject: [PATCH] Fixed FutureWarning for comparison against none --- src/vtk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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