if previous != concept:
previous = concept
if beast: matrix[i] += ["0"]
matrix[i] += ["1"] if etd[cogid][i] else ["0"] if concept not in \
missing_[t] else [missing]
// character indices
After Change
if tpath.exists:
_template = util.read_text_file(tpath.as_posix())
else: // pragma: no cover
raise IOError("Unknown template %s" % template)
// check that `ref` is a valid column
if ref not in wordlist._alias:
raise KeyError("Unknown _ref_ column in wordlist "%s"" % ref)