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/picmi.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Python/pywarpx/picmi.py') diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py index 28dde05e6..70f356475 100644 --- a/Python/pywarpx/picmi.py +++ b/Python/pywarpx/picmi.py @@ -63,10 +63,7 @@ class Species(picmistandard.PICMI_Species): if self.name is None: self.name = 'species{}'.format(self.species_number) - if pywarpx.particles.species_names is None: - pywarpx.particles.species_names = self.name - else: - pywarpx.particles.species_names += ' ' + self.name + pywarpx.particles.species_names.append(self.name) self.species = pywarpx.Bucket.Bucket(self.name, mass = self.mass, -- cgit v1.2.3