From 41b470fd22249a0bd5ba11d7ed87a503d1dc7402 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 13 Jul 2024 22:59:23 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- Examples/Tests/collision/analysis_collision_1d.py | 4 ++-- Examples/Tests/collision/inputs_1d | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Examples/Tests/collision/analysis_collision_1d.py b/Examples/Tests/collision/analysis_collision_1d.py index a7b9ae5b646..f22669a3668 100755 --- a/Examples/Tests/collision/analysis_collision_1d.py +++ b/Examples/Tests/collision/analysis_collision_1d.py @@ -7,7 +7,7 @@ # # License: BSD-3-Clause-LBNL # -# This is a script that analyses the simulation results from the script `inputs_1d`. +# This is a script that analyses the simulation results from the script `inputs_1d`. # run locally: python analysis_vandb_1d.py diags/diag1000600/ # # This is a 1D intra-species Coulomb scattering relaxation test consisting @@ -19,8 +19,8 @@ import sys import numpy as np -from scipy.constants import epsilon_0, e import yt +from scipy.constants import e, epsilon_0 sys.path.insert(1, '../../../../warpx/Regression/Checksum/') import checksumAPI diff --git a/Examples/Tests/collision/inputs_1d b/Examples/Tests/collision/inputs_1d index 899f9dd5133..36c48686600 100644 --- a/Examples/Tests/collision/inputs_1d +++ b/Examples/Tests/collision/inputs_1d @@ -94,4 +94,3 @@ diags1.species = "ions" diags1.intervals = 600 diags1.diag_type = Full diags1.ions.variables = w z ux uy uz -