Skip to content

Commit

Permalink
Fixed issue with pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MKanetscheider committed Aug 9, 2024
1 parent e47305c commit b908cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scirpy/tl/_diversity.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def convert_hill_table(
elif convert_to == "relative_evenness":
df = diversity_profile.copy()
observed_richeness = diversity_profile.loc[0]
for index, row in df.iterrows():
for _index, row in df.iterrows():
for i in range(len(row)):
row.iloc[i] = np.log(row.iloc[i]) / np.log(observed_richeness.iloc[i])
return df
Expand Down

0 comments on commit b908cc0

Please sign in to comment.