diff --git a/bob/rppg/ssr/script/spatial_subspace_rotation.py b/bob/rppg/ssr/script/spatial_subspace_rotation.py index a9010a51f49dd2369f34c3a5514588f465e130ab..f906bf25e1b69167793e828e18b8adcd8d3e4d34 100644 --- a/bob/rppg/ssr/script/spatial_subspace_rotation.py +++ b/bob/rppg/ssr/script/spatial_subspace_rotation.py @@ -22,7 +22,7 @@ Options: -V, --version Show version -P, --plot Set this flag if you'd like to follow-up the algorithm 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 all the data sets will be loaded. -o, --pulsedir=<path> The path to the output directory where the resulting @@ -91,8 +91,8 @@ def main(user_input=None): configuration = load([os.path.join(args['<configuration>'])]) # get various parameters, either from config file or command-line - protocol = get_parameter(args, configuration, 'protocol', 'None') - subset = get_parameter(args, configuration, 'subset', '') + protocol = get_parameter(args, configuration, 'protocol', 'all') + subset = get_parameter(args, configuration, 'subset', None) pulsedir = get_parameter(args, configuration, 'pulsedir', 'pulse') start = get_parameter(args, configuration, 'start', 0) end = get_parameter(args, configuration, 'end', 0) diff --git a/bob/rppg/ssr/script/ssr_from_mask.py b/bob/rppg/ssr/script/ssr_from_mask.py index 4e3eeb5801a2877f6fb6be8651703cac558d26a7..12fce13eec0c8889fd241b8f6a5d25f7a47138ad 100644 --- a/bob/rppg/ssr/script/ssr_from_mask.py +++ b/bob/rppg/ssr/script/ssr_from_mask.py @@ -18,7 +18,7 @@ Usage: Options: -h, --help Show this screen -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 all the data sets will be loaded. -o, --pulsedir=<path> The path to the directory where signal extracted @@ -102,8 +102,8 @@ def main(user_input=None): configuration = load([os.path.join(args['<configuration>'])]) # get various parameters, either from config file or command-line - protocol = get_parameter(args, configuration, 'protocol', 'None') - subset = get_parameter(args, configuration, 'subset', '') + protocol = get_parameter(args, configuration, 'protocol', 'all') + subset = get_parameter(args, configuration, 'subset', None) pulsedir = get_parameter(args, configuration, 'pulsedir', 'pulse') npoints = get_parameter(args, configuration, 'npoints', 40) indent = get_parameter(args, configuration, 'indent', 10)