Skip to content
Snippets Groups Projects
Commit f8a68ccd authored by Kien Le's avatar Kien Le
Browse files

Fix type documentation for readChannels

Change return type from DataTypeModel to Set[str].
parent e425ee3c
No related branches found
No related tags found
1 merge request!31Add type hint to controller code
...@@ -60,13 +60,13 @@ def loadData(dataType: str, tracking_box: QTextBrowser, listOfDir: List[str], ...@@ -60,13 +60,13 @@ def loadData(dataType: str, tracking_box: QTextBrowser, listOfDir: List[str],
def readChannels(tracking_box: QTextBrowser, listOfDir: List[str] def readChannels(tracking_box: QTextBrowser, listOfDir: List[str]
) -> DataTypeModel: ) -> Set[str]:
""" """
Scan available channels (to be used in channel preferences dialog). Since Scan available channels (to be used in channel preferences dialog). Since
channels for RT130 is hard code, this function won't be applied for it. channels for RT130 is hard code, this function won't be applied for it.
:param tracking_box: QTextBrowser - widget to display tracking info :param tracking_box: QTextBrowser - widget to display tracking info
:param listOfDir: [str,] - list of directories selected by users :param listOfDir: [str,] - list of directories selected by users
:return dataObject: DataTypeModel - object that keep the data read from :return dataObject: {str,} - object that keep the data read from
listOfDir listOfDir
""" """
dataObject = None dataObject = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment