Skip to content

Commit

Permalink
fix example name
Browse files Browse the repository at this point in the history
  • Loading branch information
laurasootes committed Sep 27, 2024
1 parent e2454f1 commit cf7872d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dianna/dashboard/pages/Time_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def preprocess(data):
for col, method in zip(columns, methods):
kwargs = method_params[method].copy()
kwargs['labels'] = [index]
if load_example == "Scientific case: FRB":
if load_example == "Scientific case - radio astronomy: Fast Radio Burst (FRB) detection":
kwargs['_preprocess_function'] = preprocess

func = explain_ts_dispatcher[method]
Expand All @@ -198,7 +198,7 @@ def preprocess(data):
with st.spinner(f'Running {method}'):
explanation = func(serialized_model, ts_data=ts_data_explainer, **kwargs)

if load_example == "Scientific case: FRB":
if load_example == "Scientific case - radio astronomy: Fast Radio Burst (FRB) detection":
fig, axes = plt.subplots(ncols=2, figsize=(14, 5))
# FRB: plot original data
ax = axes[0]
Expand Down

0 comments on commit cf7872d

Please sign in to comment.