Skip to content

Commit

Permalink
Apply commenting from code review
Browse files Browse the repository at this point in the history
Adds additional clarification to more obscure functions/inputs.
  • Loading branch information
jatkinson1000 committed Jan 25, 2025
1 parent dd9c0e8 commit e65e973
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion archeryutils/classifications/agb_outdoor_classifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def _assign_min_dist(
Returns
-------
min_dists : array of int
minimum distance [m] required for this category
minimum distance [m] required by category for each classification (EMB -> A3)
References
----------
Expand Down Expand Up @@ -189,6 +189,7 @@ def _assign_min_dist(
else:
idxs = np.array([0, 0, 0, 0, 0, 1, 2, 3, 4])

# Extract relevant distances for each classification from the dists array
return np.take(dists, idxs + max_dist_index, mode="clip")


Expand Down

0 comments on commit e65e973

Please sign in to comment.