mirror of
https://github.com/ParticulateFlow/LPP.git
synced 2025-12-08 06:37:46 +00:00
Merge pull request #3 from aaigner/master
Fixed FutureWarning for comparison against none
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user