Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Exareme2
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HBP Medical Informatics Platform
Exareme2
Commits
c3b7247a
Commit
c3b7247a
authored
1 year ago
by
ThanKarab
Browse files
Options
Downloads
Patches
Plain Diff
Algorithm preprocessing is empty list when no available transformers.
parent
eeb2c1f9
No related branches found
Branches containing commit
Tags
0.18.0
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mipengine/controller/api/specifications_dtos.py
+0
-9
0 additions, 9 deletions
mipengine/controller/api/specifications_dtos.py
tests/standalone_tests/test_specification_dtos_convertion.py
+1
-1
1 addition, 1 deletion
tests/standalone_tests/test_specification_dtos_convertion.py
with
1 addition
and
10 deletions
mipengine/controller/api/specifications_dtos.py
+
0
−
9
View file @
c3b7247a
...
@@ -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
()
)
)
This diff is collapsed.
Click to expand it.
tests/standalone_tests/test_specification_dtos_convertion.py
+
1
−
1
View file @
c3b7247a
...
@@ -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
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment