Skip to content

Commit

Permalink
Merge pull request #1164 from slaclab/groups-no-yaml
Browse files Browse the repository at this point in the history
Update to minimize information saved in YAML dumps
  • Loading branch information
ruck314 committed Jun 12, 2024
2 parents 5acbf5e + b47bf8d commit 73c7b38
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/surf/devices/micron/_AxiMicronMt28ew.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def __init__(self,
bulkOpEn = False,
hidden = True,
verify = False,
groups = ['NoStream','NoState','NoConfig'], # Not saving config/state to YAML
))

self.add(pr.LocalCommand(
Expand Down
1 change: 1 addition & 0 deletions python/surf/devices/micron/_AxiMicronN25Q.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def __init__(self,
bulkOpEn = False,
hidden = True,
verify = False,
groups = ['NoStream','NoState','NoConfig'], # Not saving config/state to YAML
))

##############################
Expand Down
1 change: 1 addition & 0 deletions python/surf/devices/micron/_AxiMicronP30.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def __init__(self,
bulkOpEn = False,
hidden = True,
verify = False,
groups = ['NoStream','NoState','NoConfig'], # Not saving config/state to YAML
))

self.add(pr.LocalCommand(
Expand Down
1 change: 1 addition & 0 deletions python/surf/devices/silabs/_Si5324.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def __init__(self,**kwargs):
hidden = True,
base = pr.UInt,
mode = "RW",
groups = ['NoStream','NoState','NoConfig'], # Not saving config/state to YAML
))

self.add(pr.LocalVariable(
Expand Down
1 change: 1 addition & 0 deletions python/surf/devices/silabs/_Si5326.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def __init__(self,**kwargs):
hidden = True,
base = pr.UInt,
mode = "RW",
groups = ['NoStream','NoState','NoConfig'], # Not saving config/state to YAML
))

self.add(pr.LocalVariable(
Expand Down
1 change: 1 addition & 0 deletions python/surf/devices/silabs/_Si5345Pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def __init__(self,
hidden = True,
base = pr.UInt,
mode = "RW",
groups = ['NoStream','NoState','NoConfig'], # Not saving config/state to YAML
))

def MyLinkVariable(self, name, description, offset, bitSize, mode, bitOffset=0, pollInterval=0, value=None, hidden=False):
Expand Down
1 change: 1 addition & 0 deletions python/surf/devices/ti/_Lmx2594.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def __init__(self, **kwargs):
hidden = True,
base = pr.UInt,
mode = "RW",
groups = ['NoStream','NoState','NoConfig'], # Not saving config/state to YAML
))

def addLinkVariable(name, description, offset, bitSize, mode, bitOffset=0, pollInterval=0, value=None, hidden=False):
Expand Down
1 change: 1 addition & 0 deletions python/surf/devices/ti/_Lmx2615.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def __init__(self, **kwargs):
hidden = True,
base = pr.UInt,
mode = "RW",
groups = ['NoStream','NoState','NoConfig'], # Not saving config/state to YAML
))

self.add(pr.RemoteVariable(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def __init__(self,
hidden = True,
base = pr.UInt,
mode = "RW",
groups = ['NoStream','NoState','NoConfig'], # Not saving config/state to YAML
))

self.add(pr.RemoteVariable(
Expand Down

0 comments on commit 73c7b38

Please sign in to comment.