if not template:
tex = codecs.open(path,"r","utf-8").read()
else:
tex = codecs.open(template,"r","utf-8").read()
// calculate pid score, if it is not passed as argument
if "pid_score" not in keywords:
After Change
msa = read_msa(infile)
//// load templates
tex = util.read_text_file(template or path)
// calculate pid score, if it is not passed as argument
if "pid_score" not in keywords:
pid_score = 0