# Development

**URL:** https://discourse.slicer.org/c/dev/5.md?no_subcategories=false&page=103

[Latest](https://discourse.slicer.org/latest.md) · [Categories](https://discourse.slicer.org/categories.md) · [Tags](https://discourse.slicer.org/tags.md)

**Page:** 104

---

## [Docker image for \`nightly-master\`](https://discourse.slicer.org/t/docker-image-for-nightly-master/8273)

<div class="topic-metadata">

**Author:** [@unnmdnwb3](https://discourse.slicer.org/u/unnmdnwb3)\
**Replies:** 5\
**Last updated:** [September 23, 2019, 8:32pm UTC](https://discourse.slicer.org/t/docker-image-for-nightly-master/8273 "2019-09-23T20:32:08Z")

</div>

Hello everyone, We’d like to introduce a new docker image unnmdnwb3/slicer3d-nightly, which offers an environment to test extensions for Slicer 4.11.x (which supports Python 3 ). The image is based on Slicer’s branch ni…

---

## [Basic PyCharm Importation Analysis for Slicer Development](https://discourse.slicer.org/t/basic-pycharm-importation-analysis-for-slicer-development/8509)

<div class="topic-metadata">

**Author:** [@evan](https://discourse.slicer.org/u/evan)\
**Replies:** 1\
**Last updated:** [September 20, 2019, 8:25pm UTC](https://discourse.slicer.org/t/basic-pycharm-importation-analysis-for-slicer-development/8509 "2019-09-20T20:25:38Z")

</div>

After searching the web, I found that it is not currently possible to gain full IDE code-completion/analysis for Slicer python development as some packages are added at run-time. I was able to gain some package importat…

---

## [Proposed change to curves resampling](https://discourse.slicer.org/t/proposed-change-to-curves-resampling/8471)

<div class="topic-metadata">

**Author:** [@smrolfe](https://discourse.slicer.org/u/smrolfe)\
**Replies:** 6\
**Last updated:** [September 19, 2019, 6:29pm UTC](https://discourse.slicer.org/t/proposed-change-to-curves-resampling/8471 "2019-09-19T18:29:08Z")

</div>

I noticed some unexpected behavior while using vtkMRMLMarkupsCurveNode::ResamplePoints Due to small rounding differences when comparing the remaining segment to the sampling distance, the last point is sometimes not pla…

---

## [Segmentation vanishes after hardening transformation](https://discourse.slicer.org/t/segmentation-vanishes-after-hardening-transformation/8371)

<div class="topic-metadata">

**Author:** [@giovform](https://discourse.slicer.org/u/giovform)\
**Replies:** 2\
**Last updated:** [September 16, 2019, 6:36pm UTC](https://discourse.slicer.org/t/segmentation-vanishes-after-hardening-transformation/8371 "2019-09-16T18:36:15Z")

</div>

Hello, a segmentation I created is vanishing from the 3D view after hardening a transformation to it. Before hardening, it shows up transformed as expected. I am using version 4.11.0-2019-09-01 r28473.

---

## [Update Table display?](https://discourse.slicer.org/t/update-table-display/8438)

<div class="topic-metadata">

**Author:** [@Amine](https://discourse.slicer.org/u/Amine)\
**Replies:** 4\
**Last updated:** [September 16, 2019, 2:58am UTC](https://discourse.slicer.org/t/update-table-display/8438 "2019-09-16T02:58:31Z")

</div>

Hi, i used this function to display a table node on the layout but it only works on the first table display, and not when the table is updated (same function as in SegmentStatistics module): def showTable(table): cu…

---

## [Surface toolbox revamp](https://discourse.slicer.org/t/surface-toolbox-revamp/7113)

<div class="topic-metadata">

**Author:** [@bpaniagua](https://discourse.slicer.org/u/bpaniagua)\
**Replies:** 6\
**Last updated:** [September 13, 2019, 3:22pm UTC](https://discourse.slicer.org/t/surface-toolbox-revamp/7113 "2019-09-13T15:22:24Z")

</div>

Hi Slicer developers, cc: @pieper @lassoan @jcfr @styner This week we plan to start a considerable effort to revamp the Surface Toolbox. The main idea is to port most of MeshMath’s functionality into it. We have create…

---

## [Easiest way to create a very simple set of widgets?](https://discourse.slicer.org/t/easiest-way-to-create-a-very-simple-set-of-widgets/8400)

<div class="topic-metadata">

**Author:** [@Christine\_Choirat](https://discourse.slicer.org/u/Christine_Choirat)\
**Replies:** 5\
**Last updated:** [September 13, 2019, 3:09pm UTC](https://discourse.slicer.org/t/easiest-way-to-create-a-very-simple-set-of-widgets/8400 "2019-09-13T15:09:11Z")

</div>

Dear All: What would the the easiest way to create a very simple GUI, basically a couple of buttons, each button being associated with a user-defined Python function? In other words, is there any way to use snippets su…

---

## [Extensions are not working when building Slicer from scratch](https://discourse.slicer.org/t/extensions-are-not-working-when-building-slicer-from-scratch/8412)

<div class="topic-metadata">

**Author:** [@fpsiddiqui91](https://discourse.slicer.org/u/fpsiddiqui91)\
**Replies:** 2\
**Last updated:** [September 13, 2019, 1:45pm UTC](https://discourse.slicer.org/t/extensions-are-not-working-when-building-slicer-from-scratch/8412 "2019-09-13T13:45:42Z")

</div>

Hello Developers, I have built the Nightly version of slicer from scratch. The reason fro that is I want make my own CLI modules and Loadable modules. Everything seemed to be working until I had to download the extensi…

---

## [Extensions will be late today - update on build system](https://discourse.slicer.org/t/extensions-will-be-late-today-update-on-build-system/8404)

<div class="topic-metadata">

**Author:** [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)\
**Replies:** 0\
**Last updated:** [September 12, 2019, 3:07pm UTC](https://discourse.slicer.org/t/extensions-will-be-late-today-update-on-build-system/8404 "2019-09-12T15:07:57Z")

</div>

Hi all: The DICOM issue appears to be fixed!! (see https://discourse.slicer.org/t/update-on-build-factory-status/8146) Installers / extensions will be available today, but late due to an issue with the Extension Index …

---

## [Tests failing in docker container in no window mode](https://discourse.slicer.org/t/tests-failing-in-docker-container-in-no-window-mode/8357)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)\
**Replies:** 2\
**Last updated:** [September 12, 2019, 11:59am UTC](https://discourse.slicer.org/t/tests-failing-in-docker-container-in-no-window-mode/8357 "2019-09-12T11:59:58Z")

</div>

I am testing my extensions in a docker container and I have messages like this one 1: Traceback (most recent call last): 1: File "/usr/src/Slicer-build/Slicer-build/lib/Slicer-4.11/qt-scripted-modules/DICOM.py", line …

---

## [How to call Matlab module from Python scripted module](https://discourse.slicer.org/t/how-to-call-matlab-module-from-python-scripted-module/8362)

<div class="topic-metadata">

**Author:** [@marlene](https://discourse.slicer.org/u/marlene)\
**Replies:** 2\
**Last updated:** [September 12, 2019, 9:51am UTC](https://discourse.slicer.org/t/how-to-call-matlab-module-from-python-scripted-module/8362 "2019-09-12T09:51:52Z")

</div>

---

## [Update on Build factory status](https://discourse.slicer.org/t/update-on-build-factory-status/8146)

<div class="topic-metadata">

**Author:** [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)\
**Replies:** 23\
**Last updated:** [September 11, 2019, 8:57pm UTC](https://discourse.slicer.org/t/update-on-build-factory-status/8146 "2019-09-11T20:57:13Z")

</div>

Hello all (@lassoan @jcfr @pieper) : Mac and Windows builds have been failing for the past few days, without obvious errors. Example: http://slicer.cdash.org/index.php?project=SlicerPreview&date=2019-08-21 - Windows b…

---

## [How does SubjectHierarchy Plugins works in Slicer](https://discourse.slicer.org/t/how-does-subjecthierarchy-plugins-works-in-slicer/8354)

<div class="topic-metadata">

**Author:** [@mikecsu](https://discourse.slicer.org/u/mikecsu)\
**Replies:** 2\
**Last updated:** [September 11, 2019, 2:51pm UTC](https://discourse.slicer.org/t/how-does-subjecthierarchy-plugins-works-in-slicer/8354 "2019-09-11T14:51:49Z")

</div>

Operating system:win10 Slicer version:slicer 4.10.0 Expected behavior: Actual behavior: Hi,everyone. I am learning the slicer source code for simplifying some operations in Slicer. But i have trouble in understandi…

---

## [CLI giving error with higher dimensional arrays](https://discourse.slicer.org/t/cli-giving-error-with-higher-dimensional-arrays/8366)

<div class="topic-metadata">

**Author:** [@fpsiddiqui91](https://discourse.slicer.org/u/fpsiddiqui91)\
**Replies:** 5\
**Last updated:** [September 11, 2019, 1:05am UTC](https://discourse.slicer.org/t/cli-giving-error-with-higher-dimensional-arrays/8366 "2019-09-11T01:05:57Z")

</div>

Hello Developers, I am creating a CLI module for performing computationally expensive tasks. @lassoan already helped me with parsing an arguments and all. There is some weird problem. If I initiate 2 or more high dimen…

---

## [Rendering Performance with Large number of slab slices](https://discourse.slicer.org/t/rendering-performance-with-large-number-of-slab-slices/8351)

<div class="topic-metadata">

**Author:** [@burnhamd](https://discourse.slicer.org/u/burnhamd)\
**Replies:** 6\
**Last updated:** [September 11, 2019, 1:01am UTC](https://discourse.slicer.org/t/rendering-performance-with-large-number-of-slab-slices/8351 "2019-09-11T01:01:25Z")

</div>

I have a volume with 512x512,313 dimensions. I have enabled reslice driver for tracking of a needle. The reslice rendering performance is quite good when I am navigating on only once slice at a time. However when I se…

---

## [Returning a vector from CLI module](https://discourse.slicer.org/t/returning-a-vector-from-cli-module/8359)

<div class="topic-metadata">

**Author:** [@fpsiddiqui91](https://discourse.slicer.org/u/fpsiddiqui91)\
**Replies:** 8\
**Last updated:** [September 10, 2019, 2:33pm UTC](https://discourse.slicer.org/t/returning-a-vector-from-cli-module/8359 "2019-09-10T14:33:31Z")

</div>

Hello Developers. I am developing a CLI module and calling it from my scripted module using “slicer.cli.run” . I can parse the arguments from my scripted module to CLI module but I failed to get the returning arguments…

---

## [Matlab Bridge Module Creation](https://discourse.slicer.org/t/matlab-bridge-module-creation/3687)

<div class="topic-metadata">

**Author:** [@aginn](https://discourse.slicer.org/u/aginn)\
**Replies:** 3\
**Last updated:** [August 7, 2018, 9:10pm UTC](https://discourse.slicer.org/t/matlab-bridge-module-creation/3687 "2018-08-07T21:10:22Z")

</div>

Hi all, I am relatively new to 3D Slicer and Matlab Bridge. I have been using Matlab Bridge to create a custom module to cut down on my segmentation times. Is there a way to call and execute a pre-existing 3D Slicer Mo…

---

## [Identifying empty segments?](https://discourse.slicer.org/t/identifying-empty-segments/8333)

<div class="topic-metadata">

**Author:** [@Amine](https://discourse.slicer.org/u/Amine)\
**Replies:** 7\
**Last updated:** [September 9, 2019, 5:38pm UTC](https://discourse.slicer.org/t/identifying-empty-segments/8333 "2019-09-09T17:38:00Z")

</div>

Hi, i’ve been using this code to grab a segment, but i found no way to check if it’s empty or not. segmentation\_node = getNode("Segmentation") seg = segmentation\_node.GetSegmentation() seg0 = seg.GetNthSegment(0) i tri…

---

## [Using matplotlib in Slicer jupyter notebook](https://discourse.slicer.org/t/using-matplotlib-in-slicer-jupyter-notebook/8310)

<div class="topic-metadata">

**Author:** [@mikebind](https://discourse.slicer.org/u/mikebind)\
**Replies:** 9\
**Last updated:** [September 9, 2019, 4:31pm UTC](https://discourse.slicer.org/t/using-matplotlib-in-slicer-jupyter-notebook/8310 "2019-09-09T16:31:41Z")

</div>

Hello, I am using Slicer 4.11.0-2019-08-29 with jupyter notebook. I would like to be able to use matplotlib in the notebook to do things like plot histograms. I have successfully pip-installed matplotlib with slicer.ut…

---

## [Settings and extension install location](https://discourse.slicer.org/t/settings-and-extension-install-location/8322)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 2\
**Last updated:** [September 6, 2019, 3:08pm UTC](https://discourse.slicer.org/t/settings-and-extension-install-location/8322 "2019-09-06T15:08:03Z")

</div>

Since Slicer is now installed in writable folder on all platforms by default and Python packages are installed into this folder, it would make sense to install extensions and version-specific (Slicer-NNN.ini) setting fil…

---

## [ThreeD view interactive mode](https://discourse.slicer.org/t/threed-view-interactive-mode/8320)

<div class="topic-metadata">

**Author:** [@JaceYang](https://discourse.slicer.org/u/JaceYang)\
**Replies:** 2\
**Last updated:** [September 6, 2019, 2:59pm UTC](https://discourse.slicer.org/t/threed-view-interactive-mode/8320 "2019-09-06T14:59:03Z")

</div>

Coule we modify the code about the threeD view interaction to let we interact with threeD view like autodesk maya? For example,select a node in the data module then transform it in the 3D view.But currently the mouse…

---

## [Programmatically set camera position](https://discourse.slicer.org/t/programmatically-set-camera-position/8301)

<div class="topic-metadata">

**Author:** [@rprueckl](https://discourse.slicer.org/u/rprueckl)\
**Replies:** 5\
**Last updated:** [September 6, 2019, 2:28pm UTC](https://discourse.slicer.org/t/programmatically-set-camera-position/8301 "2019-09-06T14:28:11Z")

</div>

Hi, I want to set camera position programmatically in this way: int wasModifying = camera-\>StartModify(); camera-\>SetPosition(cameraPosition\[0\], cameraPosition\[1\], cameraPosition\[2\]); camera-\>SetFocalPoint(cameraFocalP…

---

## [Reproducible crash on Nightly (2019-08-29) on trying to view 64 bit image](https://discourse.slicer.org/t/reproducible-crash-on-nightly-2019-08-29-on-trying-to-view-64-bit-image/8317)

<div class="topic-metadata">

**Author:** [@mikebind](https://discourse.slicer.org/u/mikebind)\
**Replies:** 1\
**Last updated:** [September 5, 2019, 10:11pm UTC](https://discourse.slicer.org/t/reproducible-crash-on-nightly-2019-08-29-on-trying-to-view-64-bit-image/8317 "2019-09-05T22:11:17Z")

</div>

The following code reproducibly crashes Slicer: import numpy as np crashVolNode = slicer.mrmlScene.AddNewNodeByClass('vtkMRMLScalarVolumeNode','crashVol') crashVolNode.CreateDefaultDisplayNodes() slicer.util.updateVolum…

---

## [Fiber related features in Models module](https://discourse.slicer.org/t/fiber-related-features-in-models-module/8242)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 7\
**Last updated:** [September 5, 2019, 7:33pm UTC](https://discourse.slicer.org/t/fiber-related-features-in-models-module/8242 "2019-09-05T19:33:36Z")

</div>

Hi all, I’m working on refactoring the way model hierarchies are handled in Slicer, which ultimately means getting rid of the current concept of model hierarchies altogether. In the process I bumped into the Fibers fea…

---

## [Reload CLI module](https://discourse.slicer.org/t/reload-cli-module/8309)

<div class="topic-metadata">

**Author:** [@fpsiddiqui91](https://discourse.slicer.org/u/fpsiddiqui91)\
**Replies:** 2\
**Last updated:** [September 5, 2019, 4:01pm UTC](https://discourse.slicer.org/t/reload-cli-module/8309 "2019-09-05T16:01:54Z")

</div>

Hello Developers, I am developing a slicer based application using CLI and scripted module. I am passing my arguments from scripted modules, doing the computations on CLI and returning back the output. The problem whic…

---

## [GLSL shaders use non supported version 1.50 that makes CI/CD to fail in a docker container](https://discourse.slicer.org/t/glsl-shaders-use-non-supported-version-1-50-that-makes-ci-cd-to-fail-in-a-docker-container/8307)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)\
**Replies:** 2\
**Last updated:** [September 5, 2019, 12:47pm UTC](https://discourse.slicer.org/t/glsl-shaders-use-non-supported-version-1-50-that-makes-ci-cd-to-fail-in-a-docker-container/8307 "2019-09-05T12:47:26Z")

</div>

@lassoan, @cpinter, we are trying to test our extension in a docker container as described by @unnmdnwb3 in this thread. However, the test fails when executing slicer with these errors. Basically the VTK version that i…

---

## [Simplify ruler to a straight line](https://discourse.slicer.org/t/simplify-ruler-to-a-straight-line/8241)

<div class="topic-metadata">

**Author:** [@rprueckl](https://discourse.slicer.org/u/rprueckl)\
**Replies:** 3\
**Last updated:** [September 4, 2019, 7:11pm UTC](https://discourse.slicer.org/t/simplify-ruler-to-a-straight-line/8241 "2019-09-04T19:11:50Z")

</div>

Hi, I want to use the ruler as a generic line for different purposes. I can simplify it to a degree where it nearly fits my requirements. Only the start and end markers (see picture, marked with yellow arrows) are still…

---

## [vtkITKImageThresholdCalculator failure - due to ITK update?](https://discourse.slicer.org/t/vtkitkimagethresholdcalculator-failure-due-to-itk-update/8251)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 5\
**Last updated:** [September 4, 2019, 2:16pm UTC](https://discourse.slicer.org/t/vtkitkimagethresholdcalculator-failure-due-to-itk-update/8251 "2019-09-04T14:16:06Z")

</div>

vtkITKImageThresholdCalculator fails with errors like this recently (and crashes or just provides invalid result): Failed to compute threshold value using method Shanbhag. Details: itk::ExceptionObject (00000076F88F6C9…

---

## [Hot Link Python Script](https://discourse.slicer.org/t/hot-link-python-script/8261)

<div class="topic-metadata">

**Author:** [@bsmarine](https://discourse.slicer.org/u/bsmarine)\
**Replies:** 3\
**Last updated:** [September 3, 2019, 7:03pm UTC](https://discourse.slicer.org/t/hot-link-python-script/8261 "2019-09-03T19:03:15Z")

</div>

Does anyone know of python script that activates hot-link mode between different windows/studies?

---

## [Update Values at Widget](https://discourse.slicer.org/t/update-values-at-widget/8279)

<div class="topic-metadata">

**Author:** [@siaeleni](https://discourse.slicer.org/u/siaeleni)\
**Replies:** 1\
**Last updated:** [September 3, 2019, 5:09pm UTC](https://discourse.slicer.org/t/update-values-at-widget/8279 "2019-09-03T17:09:01Z")

</div>

Hello, I want to clarify and underand how to set values from Logic to the GUI. So, I have a python module and I have Widget class where I define all my controls, for example: class Widget(ScriptedLoadableModuleWidget…

[Previous page](https://discourse.slicer.org/c/dev/5.md?no_subcategories=false&page=102)

[Next page](https://discourse.slicer.org/c/dev/5.md?no_subcategories=false&page=104)
