Skip to content
Snippets Groups Projects
Commit 8c8901f9 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Merge branch 'loop_input_access' into 'master'

Give loop full access to input content in prepare

See merge request !29
parents db450461 39e3d426
No related branches found
No related tags found
1 merge request!29Give loop full access to input content in prepare
Pipeline #25449 passed
......@@ -204,7 +204,7 @@ class Runner(object):
# The method is optional
if hasattr(self.obj, 'prepare'):
if self.algorithm.is_autonomous:
if self.algorithm.type in [Algorithm.AUTONOMOUS, Algorithm.LOOP_USER]:
self.prepared = loader.run(self.obj, 'prepare', self.exc, data_loaders.secondaries())
else:
self.prepared = loader.run(self.obj, 'prepare', self.exc, data_loaders)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment