Skip to content

Commit 5b006cb

Browse files
committed
Rename method get_channels to _get_channels in tdm_loader
The public `get_channels` function is renamed to the private method `_get_channels` in 'tdm_loader.py'. This is due to internal use only, to provide more clarity and prevent unintended external access.
1 parent fce2681 commit 5b006cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tdm_loader/tdm_loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def _get_usi_from_txt(txt):
170170
return re.findall(r'id\("(.+?)"\)', txt)
171171

172172
@cache
173-
def get_channels(self, group_id):
173+
def _get_channels(self, group_id):
174174
group = self._xml_chgs[group_id]
175175
return {v: i for i, v in enumerate(re.findall(r'id\("(.+?)"\)', group.find("channels").text))}
176176

0 commit comments

Comments
 (0)