From 7b08c8ad9ecec5ad84799bfdafbacb328c97a50c Mon Sep 17 00:00:00 2001 From: Eleftherios Zisis Date: Fri, 26 Jan 2024 08:36:36 +0100 Subject: [PATCH] Add proper spacing in config docstring config path --- neurom/apps/morph_stats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neurom/apps/morph_stats.py b/neurom/apps/morph_stats.py index f91e95d5..b0db089d 100644 --- a/neurom/apps/morph_stats.py +++ b/neurom/apps/morph_stats.py @@ -115,7 +115,7 @@ def extract_dataframe(morphs, config, n_workers=1): return pd.DataFrame(columns=pd.MultiIndex.from_tuples(columns), data=rows) -extract_dataframe.__doc__ += str(EXAMPLE_STATS_CONFIG) +extract_dataframe.__doc__ = extract_dataframe.__doc__.strip() + "\n\t" + str(EXAMPLE_STATS_CONFIG) def _get_feature_stats(feature_name, morphs, modes, kwargs): @@ -232,7 +232,7 @@ def extract_stats(morphs, config): return dict(stats) -extract_stats.__doc__ += str(EXAMPLE_STATS_CONFIG) +extract_stats.__doc__ = extract_stats.__doc__.strip() + "\n\t" + str(EXAMPLE_STATS_CONFIG) def _get_header(results):