From 0c593f22cd3c5571ff89ddc32a6b7b205815ead2 Mon Sep 17 00:00:00 2001 From: Dave Grote Date: Thu, 9 Jan 2020 16:56:10 -0800 Subject: For picmi, minor clean up --- Python/pywarpx/WarpX.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/pywarpx/WarpX.py') diff --git a/Python/pywarpx/WarpX.py b/Python/pywarpx/WarpX.py index 1b536a55c..2ef3d99c1 100644 --- a/Python/pywarpx/WarpX.py +++ b/Python/pywarpx/WarpX.py @@ -29,7 +29,7 @@ class WarpX(Bucket): # --- Search through species_names and add any predefined particle objects in the list. particles_list_names = [p.instancename for p in particles_list] - for pstring in particles.species_names.split(' '): + for pstring in particles.species_names: if pstring in particles_list_names: # --- The species is already included in particles_list continue -- cgit v1.2.3