Skip to content

Commit

Permalink
Linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorKraevTransferwise committed Nov 28, 2024
1 parent c712fd2 commit 9a3af37
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions causaltune/score/thompson.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import copy
import numpy as np
from scipy.stats import norm
from causaltune.models.monkey_patches import effect_stderr
Expand All @@ -25,7 +24,7 @@ def extract_means_stds(est, df, treatment_name, num_treatments):
est.__class__.effect_stderr = effect_stderr
try:
stds = np.squeeze(est.effect_stderr(df))
except Exception as e:
except Exception:
stds = None
else:
stds = None
Expand Down

0 comments on commit 9a3af37

Please sign in to comment.