aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/WarpX.py
diff options
context:
space:
mode:
authorGravatar Dave Grote <grote1@llnl.gov> 2020-01-09 16:56:10 -0800
committerGravatar Dave Grote <grote1@llnl.gov> 2020-01-09 16:56:10 -0800
commit0c593f22cd3c5571ff89ddc32a6b7b205815ead2 (patch)
tree2643247e68b2ef7c7ddc4837f73b2ab7d6ea51c6 /Python/pywarpx/WarpX.py
parent8f23eb12d388e55dc7f1cc0b9fc426380fa1740c (diff)
downloadWarpX-0c593f22cd3c5571ff89ddc32a6b7b205815ead2.tar.gz
WarpX-0c593f22cd3c5571ff89ddc32a6b7b205815ead2.tar.zst
WarpX-0c593f22cd3c5571ff89ddc32a6b7b205815ead2.zip
For picmi, minor clean up
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