Commit 24d6b5b0 authored by Flavio TARSETTI's avatar Flavio TARSETTI
Browse files

[widgets][toolchaineditor] filter algorithms by sequential/autonomous types

parent 3d44bde1
......@@ -62,6 +62,8 @@ from PyQt5.QtWidgets import QLineEdit
from PyQt5.QtWidgets import QMessageBox
from PyQt5.QtWidgets import QColorDialog
from beat.backend.python.algorithm import Algorithm
from ..backend.asset import Asset
from ..backend.asset import AssetType
from ..backend.assetmodel import AssetModel
......@@ -1264,6 +1266,7 @@ class ToolchainEditor(AbstractAssetEditor):
def __onContextChanged(self):
algorithm_model = AlgorithmResourceModel()
algorithm_model.setTypes([Algorithm.SEQUENTIAL, Algorithm.AUTONOMOUS])
dataset_model = DatasetResourceModel()
self.dataset_list = [
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