Open bunbun opened 8 years ago
1) Add specific error message for output_dir Inside parse_argument()
if "filter" in results and "output_dir" in named_arguments:
2) Rearrange error message so that the named arguments come first Inside parse_argument()
if len(named_arguments):
err_msg = ("Duplicate, conflicting or unrecognised arguments:\n%s" %
get_parsed_arguments_str_for_errors(task_description, # bad arg in context of parsed
", ".join("%s=%r" %(k, v) for k,v in named_arguments.items()),
unnamed_result_strs, named_result_strs))
results in the following error:
The error is due to the fact that transform(..., filter = regex()) does not take the "output_dir" parameter