From f1f190d19f65ec6fb9ce2a68a8abb4563cf386ac Mon Sep 17 00:00:00 2001 From: Peter Swain <pswain@Arran.bio.ed.ac.uk> Date: Thu, 23 Nov 2023 15:27:51 +0000 Subject: [PATCH] bug(bud_metric): indentation error causing crash when no bud_signal --- src/postprocessor/core/reshapers/bud_metric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/postprocessor/core/reshapers/bud_metric.py b/src/postprocessor/core/reshapers/bud_metric.py index d2b87f7..7c9ce3c 100644 --- a/src/postprocessor/core/reshapers/bud_metric.py +++ b/src/postprocessor/core/reshapers/bud_metric.py @@ -126,7 +126,7 @@ def get_bud_metric( # initialise as all NaNs and then update for cells with buds bud_signal = pd.DataFrame(columns=signal.columns, index=signal.index) bud_signal.update(mini_df) - return bud_signal + return bud_signal def combine_daughter_tracks(tracks: pd.DataFrame): -- GitLab