Skip to content

Commit bcb3e7a

Browse files
committed
Black reformatting
1 parent 70952b4 commit bcb3e7a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/sasctl/pzmm/write_json_files.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,10 @@ def calculateFitStat(
529529
GINI = (2 * auc) - 1
530530
fitStats["_GINI_"] = GINI
531531

532-
from scipy.stats import gamma # Holdover until fitstat generation via SWAT is sussed out
532+
from scipy.stats import (
533+
gamma,
534+
) # Holdover until fitstat generation via SWAT is sussed out
535+
533536
_, _, scale = gamma.fit(dataSets[j][1])
534537
fitStats["_GAMMA_"] = 1 / scale
535538

@@ -552,7 +555,9 @@ def calculateFitStat(
552555
DIV = len(dataSets[j][0])
553556
fitStats["_DIV_"] = DIV
554557

555-
TAU = pd.Series(dataSets[j][0]).corr(pd.Series(dataSets[j][1]), method="kendall")
558+
TAU = pd.Series(dataSets[j][0]).corr(
559+
pd.Series(dataSets[j][1]), method="kendall"
560+
)
556561
fitStats["_TAU_"] = TAU
557562

558563
KSCut = None

0 commit comments

Comments
 (0)