Skip to content

Commit

Permalink
Viewer: Fix future warning (df.var(level=1) > df.groupby(level=1).var())
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiquesydow committed Sep 16, 2021
1 parent 80285a7 commit d7f21bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kissim/viewer/kinase.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def from_kinase_klifs_id(
@property
def _std(self):

return self._fingerprints_features.std(level="residue_ix")
return self._fingerprints_features.groupby("residue_ix").std()

def residue_to_color_mapping(self, feature_name, fingerprint, plot_cmap=False):
"""
Expand Down

0 comments on commit d7f21bd

Please sign in to comment.