Skip to content

Commit

Permalink
fix: scan bug (#36)
Browse files Browse the repository at this point in the history
* fix: scan bug

* version 0.1.5
  • Loading branch information
Aunity authored Jun 20, 2023
1 parent c4da604 commit 9e91b64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion unigbsa/scanparas/scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def calc_R2(expfile, gbsa):
else:
GBSA = gbsa
df = pd.merge(exp, GBSA, on='ligandName')
R = df.corr().loc['TOTAL', 'dG_exp']
R = df[['TOTAL', 'dG_exp']].corr().loc['TOTAL', 'dG_exp']
return R, R**2

def iter_paras(args) -> None:
Expand Down
2 changes: 1 addition & 1 deletion unigbsa/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__="0.1.4"
__version__="0.1.5"

0 comments on commit 9e91b64

Please sign in to comment.