Commit ad82a8d1 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[experiments] CachedDataSource is now an iterable class update its use

parent 2a7c257f
......@@ -98,7 +98,7 @@ def run_experiment(configuration, name, force, use_docker, use_local):
f = CachedDataSource()
assert f.setup(os.path.join(executor.cache,
executor.data['result']['path'] + '.data'), executor.prefix)
data, start, end = f.next()
data, start, end = f[0]
return data
def reindent(s, n):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment