aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/WarpX.py
diff options
context:
space:
mode:
Diffstat (limited to 'Python/pywarpx/WarpX.py')
-rw-r--r--Python/pywarpx/WarpX.py2
1 files changed, 1 insertions, 1 deletions
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