Skip to content

Commit

Permalink
fix mistakes in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
prayagyadav committed Oct 16, 2024
1 parent 8c2b222 commit e810809
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_nanoevents_fcc_spring2021.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def test_KaonParent_to_PionDaughters_Loop(eager_events):
names_valid = awkward.all(is_pi_0 | is_pi_plus | is_pi_minus)
assert names_valid

# Do the daughters have valid charges (same or opposite)?
# Do the daughters have valid charges (-1 or 0)?
nested_bool = awkward.prod(daughters_of_K_S0.charge, axis=2) <= 0
charge_valid = awkward.all(awkward.ravel(nested_bool))
assert charge_valid
Expand Down
2 changes: 1 addition & 1 deletion tests/test_nanoevents_fcc_winter2023.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def test_KaonParent_to_PionDaughters_Loop(eager_events):
names_valid = awkward.all(is_pi_0 | is_pi_plus | is_pi_minus)
assert names_valid

# Do the daughters have valid charges (same or opposite)?
# Do the daughters have valid charges (-1 or 0)?
nested_bool = awkward.prod(daughters_of_K_S0.charge, axis=2) <= 0
charge_valid = awkward.all(awkward.ravel(nested_bool))
assert charge_valid
Expand Down

0 comments on commit e810809

Please sign in to comment.