diff options
author | 2020-02-15 05:34:27 -0800 | |
---|---|---|
committer | 2020-02-15 05:34:27 -0800 | |
commit | d90f7e93c541d97541dfef4dbf88a601538f32d4 (patch) | |
tree | 7fa43f0e7f641e1eb6232371182fcaa4e4917780 /Tools/plot_particle_path.py | |
parent | 8ab5527c14ee567c24fd2c104bc6003a578e5026 (diff) | |
download | WarpX-d90f7e93c541d97541dfef4dbf88a601538f32d4.tar.gz WarpX-d90f7e93c541d97541dfef4dbf88a601538f32d4.tar.zst WarpX-d90f7e93c541d97541dfef4dbf88a601538f32d4.zip |
Analysis: Fix Warnings (#722)
Fix a couple of unused imports and unreachable statements.
Diffstat (limited to 'Tools/plot_particle_path.py')
-rw-r--r-- | Tools/plot_particle_path.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Tools/plot_particle_path.py b/Tools/plot_particle_path.py index 1b1fed0c0..5fee4a467 100644 --- a/Tools/plot_particle_path.py +++ b/Tools/plot_particle_path.py @@ -31,7 +31,6 @@ class AMReXParticleHeader(object): self.version_string = f.readline().strip() particle_real_type = self.version_string.split('_')[-1] - particle_real_type = self.version_string.split('_')[-1] if particle_real_type == 'double': self.real_type = np.float64 elif particle_real_type == 'single': |