From 3ff1ad7fd1b867a60a168066fae086d4c514a8cc Mon Sep 17 00:00:00 2001 From: cosimolupo Date: Fri, 22 Mar 2024 16:48:21 +0100 Subject: [PATCH] Fix for extra spacings added when merging PR #61 --- cobrawap/pipeline/stage01_data_entry/scripts/plot_traces.py | 6 +++--- .../stage02_processing/scripts/logMUA_estimation.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cobrawap/pipeline/stage01_data_entry/scripts/plot_traces.py b/cobrawap/pipeline/stage01_data_entry/scripts/plot_traces.py index adee0cfd..50e5facd 100644 --- a/cobrawap/pipeline/stage01_data_entry/scripts/plot_traces.py +++ b/cobrawap/pipeline/stage01_data_entry/scripts/plot_traces.py @@ -12,13 +12,13 @@ from utils.parse import parse_plot_channels, none_or_int, none_or_float CLI = argparse.ArgumentParser() -CLI.add_argument("--data", nargs='?', type=Path, required=True, +CLI.add_argument("--data", nargs='?', type=Path, required=True, help="path to input data in neo format") -CLI.add_argument("--output", nargs='?', type=Path, required=True, +CLI.add_argument("--output", nargs='?', type=Path, required=True, help="path of output figure") CLI.add_argument("--t_start", nargs='?', type=none_or_float, default=0, help="start time in seconds") -CLI.add_argument("--t_stop", nargs='?', type=none_or_float, default=10, +CLI.add_argument("--t_stop", nargs='?', type=none_or_float, default=10, help="stop time in seconds") CLI.add_argument("--channels", nargs='+', type=none_or_int, default=0, help="list of channels to plot") diff --git a/cobrawap/pipeline/stage02_processing/scripts/logMUA_estimation.py b/cobrawap/pipeline/stage02_processing/scripts/logMUA_estimation.py index e381ce6b..b53824e6 100644 --- a/cobrawap/pipeline/stage02_processing/scripts/logMUA_estimation.py +++ b/cobrawap/pipeline/stage02_processing/scripts/logMUA_estimation.py @@ -39,7 +39,7 @@ help="time window length used for power spectrum estimate, in s") CLI.add_argument("--plot_tstart", nargs='?', type=none_or_float, default=0, help="start time in seconds") -CLI.add_argument("--plot_tstop", nargs='?', type=none_or_float, default=10, +CLI.add_argument("--plot_tstop", nargs='?', type=none_or_float, default=10, help="stop time in seconds") CLI.add_argument("--plot_channels", nargs='+', type=none_or_int, default=None, help="list of channels to plot")