Skip to content

Commit

Permalink
🐛 error due to black formatting?
Browse files Browse the repository at this point in the history
- f-string formatting error.
  • Loading branch information
Henry committed Jun 4, 2024
1 parent e4e2283 commit 5e23447
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 6 additions & 4 deletions src/move/tasks/identify_associations.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,13 +602,15 @@ def _ks_approach(
edges,
hist_base,
hist_pert,
f"Cumulative_perturbed_{i}_measuring_{
k}_stats_{stats[j, i, k]}",
title=f"Cumulative_perturbed_{i}_measuring_"
f"{k}_stats_{stats[j, i, k]}",
)
fig.savefig(
figure_path
/ f"Cumulative_refit_{j}_perturbed_{
i}_measuring_{k}_stats_{stats[j, i, k]}.png"
/ (
f"Cumulative_refit_{j}_perturbed_{i}_"
f"measuring_{k}_stats_{stats[j, i, k]}.png"
)
)

# Feature changes:
Expand Down
8 changes: 4 additions & 4 deletions src/move/visualization/dataset_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@ def plot_reconstruction_movement(


def plot_cumulative_distributions(
edges,
hist_base,
hist_pert,
title,
edges: FloatArray,
hist_base: FloatArray,
hist_pert: FloatArray,
title: str,
style: str = DEFAULT_PLOT_STYLE,
) -> matplotlib.figure.Figure:
"""
Expand Down

0 comments on commit 5e23447

Please sign in to comment.