Merge pull request #3 from aaigner/master

Fixed FutureWarning for comparison against none
This commit is contained in:
Christoph Kloss
2017-02-23 10:38:37 +01:00
committed by GitHub

View File

@ -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