def get_meta_data(self, file_name, data_dir=None):
    if (data_dir is None):
        data_dir = self.get_data_dir()
    full_file_name = os.path.join(data_dir, 'meta', file_name)
    assert fu.exists(full_file_name), '{:s} does not exist'.format(full_file_name)
    ext = os.path.splitext(full_file_name)[1]
    ls = None
    if (ext == '.txt'):
        ls = []
        with fu.fopen(full_file_name, 'r') as f:
            for l in f:
                ls.append(l.rstrip())
    elif (ext == '.pkl'):
        ls = utils.load_variables(full_file_name)
    return ls
def get_meta_data(self, file_name, data_dir=None):
    if (data_dir is None):
        data_dir = self.get_data_dir()
    full_file_name = os.path.join(data_dir, 'meta', file_name)
    assert fu.exists(full_file_name), '{:s} does not exist'.format(full_file_name)
    ext = os.path.splitext(full_file_name)[1]
    ls = None
    if (ext == '.txt'):
        ls = []
        with fu.fopen(full_file_name, 'r') as f:
            for l in f:
                ls.append(l.rstrip())
    elif (ext == '.pkl'):
        ls = utils.load_variables(full_file_name)
    return ls