Skip to content

Commit

Permalink
fix: typo in variable in vertex muon scan script (#3959)
Browse files Browse the repository at this point in the history
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## 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.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
AJPfleger authored Dec 7, 2024
1 parent 5e8efd6 commit 1ebd328
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion CI/codespell_ignore.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ coner
dthe
iself
sortings
fime
gaus
te
parm
Expand Down
2 changes: 1 addition & 1 deletion Examples/Scripts/vertex_mu_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 1ebd328

Please sign in to comment.