Skip to content

Commit

Permalink
OP-2067: added fix for calculation param display
Browse files Browse the repository at this point in the history
  • Loading branch information
sniedzielski committed Sep 18, 2024
1 parent 5b0e5b4 commit ecb1ee2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions calculation/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ def resolve_calculation_params(parent, info, **kwargs):
# get the signal result - calculation param object
# related to the input class name and instance
# do not include None results
if sr[1]:
tranformed_signal_results.extend(sr[1])
if sr:
tranformed_signal_results.append(sr)
# make parameter list from signal unique - discinct list of dict by 'name' keyword
tranformed_signal_results = list({v['name']: v for v in tranformed_signal_results}.values())
for param in tranformed_signal_results:
Expand Down

0 comments on commit ecb1ee2

Please sign in to comment.