Skip to content

Commit

Permalink
Merge pull request #7 from kamerlinlab/fix_estim_feat_directs
Browse files Browse the repository at this point in the history
Fix to function that estimates feature directions
  • Loading branch information
RMCrean authored Feb 13, 2024
2 parents 632a050 + a4f222d commit adebe90
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
## Change Log

0.3.4 (13/02/2024)
*****

#### Fixed:
- Remove bug from "estimate_feature_directions" function.


Between 0.3.1 to 0.3.3 (04/10/2023)
*****

Expand Down
3 changes: 2 additions & 1 deletion key_interactions_finder/post_proccessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,8 +775,9 @@ def estimate_feature_directions(self) -> None:

per_class_datasets = {}
for class_name in self.stat_model.class_names:
per_class_datasets[class_name] = self.stat_model.scaled_dataset[(
single_class_dataset = self.stat_model.scaled_dataset[(
self.stat_model.scaled_dataset["Target"] == class_name)]
per_class_datasets[class_name] = single_class_dataset.drop(columns=["Target"])

avg_contact_scores = {}
self.feature_directions = {}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

VERSION = "0.3.3"
VERSION = "0.3.4"
DESCRIPTION = "Python package for MD simulation analysis"
LONG_DESCRIPTION = """
A python package to identify the key molecular interactions that regulate any conformational change."""
Expand Down

0 comments on commit adebe90

Please sign in to comment.