Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
JochenSiegWork committed Oct 9, 2024
1 parent 9c6f970 commit 21a13bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion molpipeline/explainability/visualization/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ def structure_heatmap_shap(
if isinstance(explanation.prediction, float):
# regression case
raise NotImplementedError("Regression case not yet implemented.")
elif isinstance(explanation.prediction, np.ndarray):
if isinstance(explanation.prediction, np.ndarray):
if len(explanation.prediction) == 2:
# binary classification case
text = (
Expand Down

0 comments on commit 21a13bf

Please sign in to comment.