I am trying to create a scripted module using Sequences extension. I was wondering if, from the python console, there is a way to use a loadable module in the same way than a CLI (slicer.cli.run(slicer.modules.<cli-module-name>,parameters)), or if there is a way to access the interface in order to specify the inputs and click on the buttons in the same way than a scripted module (slicer.modules.<scripted-module-name>Widget) ?
Any help will be appreciated! Thanks in advance!
Laura
Thank you so much for your help. I managed to create a sequence and to run it by using the vtkMRMLSequenceNode and vtkMRMLSequenceBrowserNode classes ! I have unfortunately an issue about these particular classes, so I opened another topic here.