Пример #1
0
def load_data(pddl_name):
    filename = get_data_path(pddl_name)
    if not os.path.exists(filename):
        return {}
    data = read_pickle(filename)
    #print('Loaded:', filename)
    return data
Пример #2
0
def load_data(stream_name):
    filename = get_data_path(stream_name)
    if not os.path.exists(filename):
        return {}
    return read_pickle(filename)