From 4834750193b7ad21d3602ec78a0be487f2f8505d Mon Sep 17 00:00:00 2001 From: Christopher Mayes <31023527+ChristopherMayes@users.noreply.github.com> Date: Tue, 19 Nov 2024 19:41:34 -0800 Subject: [PATCH] Update pmd_beamphysics/particles.py Co-authored-by: Ken Lauer <152229072+ken-lauer@users.noreply.github.com> --- pmd_beamphysics/particles.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pmd_beamphysics/particles.py b/pmd_beamphysics/particles.py index 837a959..4f7db76 100644 --- a/pmd_beamphysics/particles.py +++ b/pmd_beamphysics/particles.py @@ -1164,7 +1164,6 @@ def fractional_split(self, fractions: Union[float, int, list], key: str): and determines the split values. It then returns a list of ParticleGroup objects representing the split subsets. """ - particles = self # Ensure fractions is a list if isinstance(fractions, (float, int)):