Skip to content

Commit 2034786

Browse files
committed
fix: update shap_values check for None
1 parent 272652a commit 2034786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/cli/analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def generate_plots(
108108
artifacts.save_signatures_plot(plots.signatures_display(encoder, X, y, bands))
109109
artifacts.save_umap_plot(plots.umap_display(encoder, X, y))
110110
shap_values = artifacts.load_shap_values()
111-
if shap_values:
111+
if shap_values is not None:
112112
artifacts.save_relevant_amplitudes_plot(
113113
plots.relevant_amplitudes(shap_values, bands)
114114
)

0 commit comments

Comments
 (0)