info("Input type = '{in_type}'".format(in_type=input_type))ifinput_type==".sdf":# Read/write SDF...infile=SDF.readFile(open(config.infile))outfile=open("standardised.sdf","w")errfile=open("errors.sdf","w")fororiginalininfile:counts["read"]+=1logging.info(">>> Starting mol '...