Skip to content
Snippets Groups Projects
Commit c3b7247a authored by ThanKarab's avatar ThanKarab
Browse files

Algorithm preprocessing is empty list when no available transformers.

parent eeb2c1f9
No related branches found
Tags 0.18.0
No related merge requests found
...@@ -253,15 +253,6 @@ def _get_algorithm_specifications_dtos( ...@@ -253,15 +253,6 @@ def _get_algorithm_specifications_dtos(
) )
def _get_transformer_specifications_dtos() -> TransformerSpecificationsDTO:
return TransformerSpecificationsDTO(
__root__=[
_convert_transformer_specification_to_dto(spec)
for spec in transformers_specifications.values()
]
)
algorithm_specifications_dtos = _get_algorithm_specifications_dtos( algorithm_specifications_dtos = _get_algorithm_specifications_dtos(
algorithms_specifications.values(), transformers_specifications.values() algorithms_specifications.values(), transformers_specifications.values()
) )
...@@ -119,7 +119,7 @@ def test_convert_algorithm_specification_to_dto(): ...@@ -119,7 +119,7 @@ def test_convert_algorithm_specification_to_dto():
), ),
) )
}, },
preprocessing=None, preprocessing=[],
) )
dto = _convert_algorithm_specification_to_dto( dto = _convert_algorithm_specification_to_dto(
......
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