Commit 908fff71 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

MNT: --pass_through is deprecated

parent 0a5dd153
......@@ -431,10 +431,14 @@ CLI_ARGUMENT_HELP = {
'(the default) to disable parallelisation. Set to -1 '
'to use all available cores ({} on this '
'platform).'.format(mp.cpu_count()),
'pass_through' : 'Do not perform any cleaning or processing on the data - '
'implies --skip_insertna, --skip_childvalues, '
'--skip_clean_funcs, --skip_recoding, and '
'--skip_processing.',
'pass_through' : '*DEPRECATED* Do not perform any cleaning or processing '
'on the data - implies --skip_insertna, '
'--skip_childvalues, --skip_clean_funcs, '
'--skip_recoding, and --skip_processing. This option is '
'deprecated and will be removed in a future version of '
'FUNPACK. The same behaviour can be achieved by running '
'FUNPACK without specifying any cleaning/processing '
'steps.',
'plugin_file' : 'Path to file containing custom funpack plugins. Can be '
'used multiple times.',
'overwrite' : 'Overwrite output file if it already exists',
......
......@@ -58,6 +58,11 @@ def main(argv=None):
if bool(getattr(args, 'work_dir', None)):
warnings.warn('The --work_dir option is deprecated '
'and has no effect.', DeprecationWarning)
if bool(getattr(args, 'pass_through', None)):
warnings.warn('The --pass_through option is deprecated - '
'you can achieve the same outcome by running '
'FUNPACK without specifying any cleaning or '
'processing steps.', DeprecationWarning)
log.info('funpack %s', funpack.__version__)
log.info('Date: %s (%s)', date.today(), calendar.day_name[date.weekday()])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment