Skip to content
Snippets Groups Projects
Commit 51201cc0 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[executor][Executor] Use is_autonomous property

parent 9b5aa4f9
No related branches found
No related tags found
2 merge requests!281.6.x,!27Soft loop
...@@ -180,7 +180,7 @@ class Executor(object): ...@@ -180,7 +180,7 @@ class Executor(object):
"""Executes the user algorithm code using the current interpreter. """Executes the user algorithm code using the current interpreter.
""" """
if self.algorithm.type == Algorithm.AUTONOMOUS: if self.algorithm.is_autonomous:
if self.analysis: if self.analysis:
result = self.runner.process(data_loaders=self.data_loaders, result = self.runner.process(data_loaders=self.data_loaders,
output=self.output_list[0]) output=self.output_list[0])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment