Skip to content

Commit

Permalink
More small comment tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
falquaddoomi committed Nov 15, 2024
1 parent 4dfd3a4 commit 5749f97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/obnb/label/split/explicit.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def __init__(
value_name="Value"
).dropna(subset=["Value"])

# group by the integer value and aggregate names into a set, making
# it possible to retrieve all the terms for a given gene ID
# group gene id and aggregate terms into a set, which makes
# it faster to retrieve all the terms for a given gene ID
self.gene_id_to_terms = (
self.long_df.groupby("Value")["Name"]
.apply(set)
Expand Down

0 comments on commit 5749f97

Please sign in to comment.