Skip to content
Snippets Groups Projects
Commit 8f8af575 authored by Guillaume HEUSCH's avatar Guillaume HEUSCH
Browse files

[ssr] changed default values for protocol and subset

parent b865d37a
No related branches found
No related tags found
1 merge request!6Resolve "Package depends on both bob.db.cohface and bob.db.hci_tagging"
Pipeline #
...@@ -22,7 +22,7 @@ Options: ...@@ -22,7 +22,7 @@ Options:
-V, --version Show version -V, --version Show version
-P, --plot Set this flag if you'd like to follow-up the algorithm -P, --plot Set this flag if you'd like to follow-up the algorithm
execution graphically. We'll plot some interactions. execution graphically. We'll plot some interactions.
-p, --protocol=<string> Protocol. -p, --protocol=<string> Protocol [default: all].
-s, --subset=<string> Data subset to load. If nothing is provided -s, --subset=<string> Data subset to load. If nothing is provided
all the data sets will be loaded. all the data sets will be loaded.
-o, --pulsedir=<path> The path to the output directory where the resulting -o, --pulsedir=<path> The path to the output directory where the resulting
...@@ -91,8 +91,8 @@ def main(user_input=None): ...@@ -91,8 +91,8 @@ def main(user_input=None):
configuration = load([os.path.join(args['<configuration>'])]) configuration = load([os.path.join(args['<configuration>'])])
# get various parameters, either from config file or command-line # get various parameters, either from config file or command-line
protocol = get_parameter(args, configuration, 'protocol', 'None') protocol = get_parameter(args, configuration, 'protocol', 'all')
subset = get_parameter(args, configuration, 'subset', '') subset = get_parameter(args, configuration, 'subset', None)
pulsedir = get_parameter(args, configuration, 'pulsedir', 'pulse') pulsedir = get_parameter(args, configuration, 'pulsedir', 'pulse')
start = get_parameter(args, configuration, 'start', 0) start = get_parameter(args, configuration, 'start', 0)
end = get_parameter(args, configuration, 'end', 0) end = get_parameter(args, configuration, 'end', 0)
......
...@@ -18,7 +18,7 @@ Usage: ...@@ -18,7 +18,7 @@ Usage:
Options: Options:
-h, --help Show this screen -h, --help Show this screen
-V, --version Show version -V, --version Show version
-p, --protocol=<string> Protocol. -p, --protocol=<string> Protocol [default: all].
-s, --subset=<string> Data subset to load. If nothing is provided -s, --subset=<string> Data subset to load. If nothing is provided
all the data sets will be loaded. all the data sets will be loaded.
-o, --pulsedir=<path> The path to the directory where signal extracted -o, --pulsedir=<path> The path to the directory where signal extracted
...@@ -102,8 +102,8 @@ def main(user_input=None): ...@@ -102,8 +102,8 @@ def main(user_input=None):
configuration = load([os.path.join(args['<configuration>'])]) configuration = load([os.path.join(args['<configuration>'])])
# get various parameters, either from config file or command-line # get various parameters, either from config file or command-line
protocol = get_parameter(args, configuration, 'protocol', 'None') protocol = get_parameter(args, configuration, 'protocol', 'all')
subset = get_parameter(args, configuration, 'subset', '') subset = get_parameter(args, configuration, 'subset', None)
pulsedir = get_parameter(args, configuration, 'pulsedir', 'pulse') pulsedir = get_parameter(args, configuration, 'pulsedir', 'pulse')
npoints = get_parameter(args, configuration, 'npoints', 40) npoints = get_parameter(args, configuration, 'npoints', 40)
indent = get_parameter(args, configuration, 'indent', 10) indent = get_parameter(args, configuration, 'indent', 10)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment