Comments (4)
Reloading of the module may be directly done in qSlicerScriptedLoadableModuleWidget
by using PyImport_ReloadModule()
12
Footnotes
from slicer.
Bite that when the module has an internal Python package in a subfolder (...Lib) then we modify the reload function to reload that package, too. If there are closely related modules then we also reload those. Order of reload seems to matter, too (if we reload in incorrect order the we need to reload multiple times). It would be nice if these would work with the new reload solution.
from slicer.
+1 for a more robust and comprehensive reload procedure.
from slicer.
I introduced the qSlicerScriptedLoadableModuleWidget::reload
1 function through #7351 anticipating we would indeed improve the approach.
For now, it addresses the original issue. Once the release is done, I will look into a more robust approach.
Footnotes
from slicer.
Related Issues (20)
- Cannot start after setting language to Chinese HOT 5
- SlicerDMRI not building on mac SlicerStable HOT 5
- SlicerDMRI extension is not updating for 5.6.1 HOT 11
- Segmentation visibility settings can be confusing HOT 1
- 3D slicer quitting abruptly on arch linux. HOT 4
- ParameterNodeWrapper does not restore combobox choice HOT 1
- Enhance the security of Slicer by implementing a TEE using Gramine, an Intel SGX runtime. HOT 11
- ParameterNodeWrapper.disconnectGui does not disconnect from UI
- ParameterNodeWrapper adds same-named parameter for each node reference to vtkMRMLScriptedModuleNode
- The problem encountered when drawing the target area. HOT 1
- MIP volume rendering MIP does not appear if shadows visibility is enabled HOT 3
- Deterministic loading of modules: is it conceivable? HOT 8
- "Select a Markup" in the markups toolbar cannot be translated
- Improve interaction handles HOT 18
- Editing Decimal Values in Transform Fields Causes Introduction of Negative
- Threshold Ranger Issue: Not Working When Saving and Restoring Scene with Segment Editor open
- Failed to import Python classes at startup
- Display warning when 3D image is saved as TIFF file HOT 2
- Add support for unregistering segment editor effects HOT 4
- Improve color table node format HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slicer.