Skip to content
Snippets Groups Projects
Commit ff175a1c authored by Anders H. Rebner's avatar Anders H. Rebner
Browse files

#65 Endret docstring

parent 1144101a
No related branches found
No related tags found
1 merge request!49#65 ModuleList bruker SOI-instans direkte
Pipeline #77572 passed
......@@ -21,16 +21,15 @@ class ModuleList(QListWidget):
----------
module_type : int
Determines whether names are from modules or attachment-modules.
Is used with the Enum 'ModuleType' to know which SOI-list to update
when changes are made.
Is used with the Enum 'ModuleType' to know which SOI-list (modules or
attachments) to update when changes are made.
soi : soitool.soi.SOI
Reference to SOI.
Reference to SOI-instance.
"""
def __init__(self, module_type, soi):
super().__init__()
# full import path below to avoid circular dependency
if not isinstance(soi, SOI):
raise RuntimeError(
"Only soitool.SOIWorkspaceWidget is "
......
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