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

[chrom] changed default values for protocol and subset

parent a49bba87
Branches
Tags
1 merge request!6Resolve "Package depends on both bob.db.cohface and bob.db.hci_tagging"
...@@ -20,7 +20,7 @@ Usage: ...@@ -20,7 +20,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
...@@ -99,8 +99,8 @@ def main(user_input=None): ...@@ -99,8 +99,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
...@@ -103,8 +103,8 @@ def main(user_input=None): ...@@ -103,8 +103,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