Skip to content

Commit

Permalink
lil diff description
Browse files Browse the repository at this point in the history
  • Loading branch information
cherman2 committed Nov 13, 2024
1 parent 25bd4c0 commit cdcf920
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions q2_fmt/_peds.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def pedf(table: pd.DataFrame, metadata: qiime2.Metadata,
})
pedf_df['measure'].attrs.update({
'title': "PEDF",
'description': 'Proportional Engraftment of Donor Strains'
'description': 'Proportional Engraftment of Donor Features'
})
pedf_df['group'].attrs.update({
'title': time_column,
Expand Down Expand Up @@ -298,7 +298,7 @@ def prdf(table: pd.DataFrame, metadata: qiime2.Metadata,
})
prdf_df['measure'].attrs.update({
'title': "PRDF",
'description': 'Proportional Engraftment of Donor Strains'
'description': 'Proportion of Recipients with Donor Feature'
})
prdf_df['group'].attrs.update({
'title': time_column,
Expand Down Expand Up @@ -352,7 +352,8 @@ def _compute_proportion(df: pd.Series, type: str, time: int,
donor_sum[count], time, feature]
df = df.dropna()
else:
raise KeyError('There was an error finding which proportion method to use')
raise KeyError('There was an error finding which proportion method to'
' use')
return df


Expand Down

0 comments on commit cdcf920

Please sign in to comment.