@@ -30,7 +30,6 @@ class EpicsIOCOptions:
30
30
name_options : EpicsNameOptions = EpicsNameOptions ()
31
31
32
32
33
-
34
33
class EpicsIOC :
35
34
def __init__ (
36
35
self , pv_prefix : str , mapping : Mapping , options : EpicsIOCOptions | None = None
@@ -74,7 +73,7 @@ def _add_sub_controller_pvi_info(self, pv_prefix: str, parent: BaseController):
74
73
_convert_attribute_name_to_pv_name (
75
74
path ,
76
75
self ._name_options .pv_naming_convention ,
77
- is_attribute = False
76
+ is_attribute = False ,
78
77
)
79
78
for path in child .path
80
79
]
@@ -96,7 +95,9 @@ def _create_and_link_attribute_pvs(self, pv_prefix: str, mapping: Mapping) -> No
96
95
]
97
96
for attr_name , attribute in single_mapping .attributes .items ():
98
97
pv_name = _convert_attribute_name_to_pv_name (
99
- attr_name , self ._name_options .pv_naming_convention , is_attribute = True
98
+ attr_name ,
99
+ self ._name_options .pv_naming_convention ,
100
+ is_attribute = True ,
100
101
)
101
102
_pv_prefix = self ._name_options .pv_separator .join (
102
103
[pv_prefix ] + formatted_path
@@ -169,7 +170,9 @@ def _create_and_link_command_pvs(self, pv_prefix: str, mapping: Mapping) -> None
169
170
]
170
171
for attr_name , method in single_mapping .command_methods .items ():
171
172
pv_name = _convert_attribute_name_to_pv_name (
172
- attr_name , self ._name_options .pv_naming_convention , is_attribute = True
173
+ attr_name ,
174
+ self ._name_options .pv_naming_convention ,
175
+ is_attribute = True ,
173
176
)
174
177
_pv_prefix = self ._name_options .pv_separator .join (
175
178
[pv_prefix ] + formatted_path
0 commit comments