Skip to content

Commit

Permalink
docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
sprivite committed Nov 12, 2024
1 parent 48bdbf8 commit 5f79a51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions phenex/phenotypes/age_phenotype.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ class AgePhenotype(Phenotype):
_execute(tables: Dict[str, Table]) -> PhenotypeTable:
Executes the phenotype calculation and returns a table with the computed age.
Example:
```
>>> age_phenotype = AgePhenotype(min_age=18, max_age=65, anchor_phenotype=some_anchor_phenotype)
>>> result_table = age_phenotype.execute(tables)
>>> display(result_table)
```
"""

# FIXME this will become a problem when modern medicine allows people to live more
Expand Down

0 comments on commit 5f79a51

Please sign in to comment.