From 1ebd328a63591dd259e9f5f65e7a56bb227c1bf3 Mon Sep 17 00:00:00 2001 From: "Alexander J. Pfleger" <70842573+AJPfleger@users.noreply.github.com> Date: Sat, 7 Dec 2024 12:48:54 +0100 Subject: [PATCH] fix: typo in variable in vertex muon scan script (#3959) ## Summary by CodeRabbit - **Bug Fixes** - Corrected error handling in the vertex_mu_scan script to properly append NaN values to the time array. - **Chores** - Made spelling corrections in the CI/codespell_ignore.txt file to enhance clarity and correctness. --- CI/codespell_ignore.txt | 1 - Examples/Scripts/vertex_mu_scan.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CI/codespell_ignore.txt b/CI/codespell_ignore.txt index 13a3328440f..40dd321d0f5 100644 --- a/CI/codespell_ignore.txt +++ b/CI/codespell_ignore.txt @@ -5,7 +5,6 @@ coner dthe iself sortings -fime gaus te parm diff --git a/Examples/Scripts/vertex_mu_scan.py b/Examples/Scripts/vertex_mu_scan.py index ee8977fe9df..0de15b20097 100755 --- a/Examples/Scripts/vertex_mu_scan.py +++ b/Examples/Scripts/vertex_mu_scan.py @@ -39,7 +39,7 @@ def main(files: List[Path], output: str, title: str = ""): if time_file.exists(): time = numpy.append(time, float(time_file.read_text())) else: - fime.append(float("nan")) + time.append(float("nan")) rf = uproot.open(f"{file}:vertexing")