def read_split(split_filename):
    """
    Return a list of pdb codes included in the split.
    """
    print('Reading split from file', split_filename)
    with open(split_filename, 'r') as f:
        pdbcodes = [t.strip() for t in f.readlines()]
    return pdbcodes