Skip to content

Commit

Permalink
Add missing nodeName to two node classes
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Oct 21, 2022
1 parent 80bc414 commit 95afb70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plottr/node/filter/correct_offset.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ def getAvgAxis(self) -> str:


class SubtractAverage(Node):

nodeName = "SubtractAverage"

useUi = True
uiClass = SubtractAverageWidget

Expand Down
1 change: 1 addition & 0 deletions plottr/node/scaleunits.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ class ScaleUnits(Node):
e.g (1*10**3 complexunit)
"""
useUi = True
nodeName = "ScaleUnits"
uiClass = ScaleUnitsWidget

def __init__(self, name: str):
Expand Down

0 comments on commit 95afb70

Please sign in to comment.