def respth2ck(argv=None):
parser = ArgumentParser(<EOL>description='<STR_LIT>'<EOL>)<EOL>parser.add_argument('<STR_LIT>', '<STR_LIT>',<EOL>type=str,<EOL>required=True,<EOL>help='<STR_LIT>'<EOL>)<EOL>parser.add_argument('<STR_LIT>', '<STR_LIT>',<EOL>type=str,<EOL>required=False,<EOL>default='<STR_LIT>',<EOL>help='<STR_LIT>'<EOL>)<EOL>parser.add_argument('<STR_LIT>', '<STR_LIT>',<EOL>dest='<STR_LIT>',<EOL>type=str,<EOL>required=False,<EOL>default='<STR_LIT>',<EOL>help='<STR_LIT>'<EOL>)<EOL>parser.add_argument('<STR_LIT>', '<STR_LIT>',<EOL>dest='<STR_LIT>',<EOL>type=str,<EOL>required=False,<EOL>default='<STR_LIT>',<EOL>help='<STR_LIT>'<EOL>)<EOL>args = parser.parse_args(argv)<EOL>filename_ck = args.output<EOL>filename_xml = args.input<EOL>properties = ReSpecTh_to_ChemKED(filename_xml, args.file_author, args.file_author_orcid,<EOL>validate=True)<EOL>if not filename_ck:<EOL><INDENT>filename_ck = os.path.join(os.path.dirname(filename_xml),<EOL>os.path.splitext(os.path.basename(filename_xml))[<NUM_LIT:0>] + '<STR_LIT>'<EOL>)<EOL><DEDENT>with open(filename_ck, '<STR_LIT:w>') as outfile:<EOL><INDENT>yaml.dump(properties, outfile, default_flow_style=False)<EOL><DEDENT>print('<STR_LIT>' + filename_ck)<EOL>
Command-line entry point for converting a ReSpecTh XML file to a ChemKED YAML file.