View Issue Details

IDProjectCategoryView StatusLast Update
0001365Slicer4Core: Scripting (Wrapping, Python)public2018-05-29 23:42
ReporterdemianAssigned Tojcfr 
PrioritylowSeverityfeatureReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0001365: QTScriptedModules - Add support for

From Demian Wassermann, Aug 18, 2011 at 9:36 AM>

Just a small comment. Do you think it will be a big problem to enable QTScriptedModules that are folders with an file? This will allow people to use any kind of python module as a scripted module.

It is not urgent, I have a workaround which is adding a <module>.py file which imports everything from the folder. Just to make it more "pythonic"

Just an idea
TagsNo tags attached.


related to 0002058 closedjcfr Scripted module should be located in their own source directory 
related to 0003549 closedjcfr Import scripted module as python module 




2018-05-29 23:42

developer   ~0015786

From the referenced issues, it seems that this has been fixed now.

Related Changesets

Slicer: 2145-support-for-installing-extension-from-file a665ca8a

2013-09-21 22:44:49


Details Diff
ENH: Skip loading of loadable python module if loadable module are disabled

Before this commit even after disabling the loading of loadable module
the python module corresponding to "logic", "Widgets, "displayable
manager" and "mrml" where still imported. This commit prevent this.

Note that if a given loadable module is disabled with the application
settings the associated python modules will still be imported.

Ideally python module should be imported on a per module basis as it is
done for extension. This will be possible only after python module specific
to a loadable module are located in dedicated directory. This is
somewhat related to issue 0001365

git-svn-id: 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/Python/slicer/moduledm/ Diff File
mod - Base/Python/slicer/modulelogic/ Diff File
mod - Base/Python/slicer/modulemrml/ Diff File
mod - Base/Python/slicer/modulewidget/ Diff File

Issue History

Date Modified Username Field Change
2011-08-25 23:29 jcfr New Issue
2011-08-25 23:29 jcfr Status new => assigned
2011-08-25 23:29 jcfr Assigned To => jcfr
2012-05-16 09:41 jcfr Reporter jcfr => demian
2012-05-16 09:42 jcfr Relationship added related to 0002058
2012-08-21 11:59 jcfr Target Version => Slicer 4.3.0
2012-09-13 11:18 jcfr Category Base Code => Scripting (Wrapping, Python)
2013-08-30 17:40 jcfr Target Version Slicer 4.3.0 => Slicer 4.4.0
2014-01-08 10:16 jcfr Relationship added related to 0003549
2014-05-12 23:27 jcfr Status assigned => acknowledged
2014-05-12 23:27 jcfr Target Version Slicer 4.4.0 =>
2017-06-07 23:27 jcfr Changeset attached => Slicer 2145-support-for-installing-extension-from-file a665ca8a
2018-05-29 23:42 lassoan Status acknowledged => resolved
2018-05-29 23:42 lassoan Resolution open => fixed
2018-05-29 23:42 lassoan Note Added: 0015786