# Development

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

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

**Page:** 64

---

## [New Markups functionality retains unset control point positions](https://discourse.slicer.org/t/new-markups-functionality-retains-unset-control-point-positions/20140)

<div class="topic-metadata">

**Author:** [@mikebind](https://discourse.slicer.org/u/mikebind)\
**Replies:** 11\
**Last updated:** [November 30, 2021, 2:25am UTC](https://discourse.slicer.org/t/new-markups-functionality-retains-unset-control-point-positions/20140 "2021-11-30T02:25:24Z")

</div>

I was trying out using the new landmark workflow outlined by @smrolfe here: Changes to the Markups Module Specifically, manually create a set of labeled fiducial points on one case, then to use on the next case as a tem…

---

## [The problem of itk.ImageFileReader](https://discourse.slicer.org/t/the-problem-of-itk-imagefilereader/20798)

<div class="topic-metadata">

**Author:** [@476663616](https://discourse.slicer.org/u/476663616)\
**Replies:** 4\
**Last updated:** [November 27, 2021, 12:42pm UTC](https://discourse.slicer.org/t/the-problem-of-itk-imagefilereader/20798 "2021-11-27T12:42:41Z")

</div>

Hello, I have encountered some problems recently. I want to rebulid the volume image from a “.tre” file to show the refine image. I use itk to complete this work, and it works perfect in the conda env. However, when I r…

---

## [How to generate a test coverage report for scripted module?](https://discourse.slicer.org/t/how-to-generate-a-test-coverage-report-for-scripted-module/20714)

<div class="topic-metadata">

**Author:** [@pll\_llq](https://discourse.slicer.org/u/pll_llq)\
**Replies:** 7\
**Last updated:** [November 26, 2021, 8:15am UTC](https://discourse.slicer.org/t/how-to-generate-a-test-coverage-report-for-scripted-module/20714 "2021-11-26T08:15:44Z")

</div>

The title says it all. Is there a way to generate a test coverage report based on the contents of the ScriptedLoadableModuleTest class contents in a scripted module?

---

## [How to lock slices or axes to orthogonal status?](https://discourse.slicer.org/t/how-to-lock-slices-or-axes-to-orthogonal-status/20763)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 2\
**Last updated:** [November 26, 2021, 3:07am UTC](https://discourse.slicer.org/t/how-to-lock-slices-or-axes-to-orthogonal-status/20763 "2021-11-26T03:07:31Z")

</div>

How to lock slices or axes to orthogonal status(be perpendicular to each other)? @lassoan@Juicy@jamesobutler @jcfr @pieper

---

## [Can't locate StylustoReference transform in Slicer](https://discourse.slicer.org/t/cant-locate-stylustoreference-transform-in-slicer/20499)

<div class="topic-metadata">

**Author:** [@askaderd](https://discourse.slicer.org/u/askaderd)\
**Replies:** 2\
**Last updated:** [November 26, 2021, 2:06am UTC](https://discourse.slicer.org/t/cant-locate-stylustoreference-transform-in-slicer/20499 "2021-11-26T02:06:26Z")

</div>

Hi there, I ran an XML file in PLUS server (code shown below). Following the Hardware Connections slide deck on the SlicerIGT website, I was trying to locate the StylustoReference transform within the scene configuratio…

---

## [Multiple display nodes observed by scalar volume or model](https://discourse.slicer.org/t/multiple-display-nodes-observed-by-scalar-volume-or-model/20733)

<div class="topic-metadata">

**Author:** [@Mik](https://discourse.slicer.org/u/Mik)\
**Replies:** 2\
**Last updated:** [November 25, 2021, 1:13pm UTC](https://discourse.slicer.org/t/multiple-display-nodes-observed-by-scalar-volume-or-model/20733 "2021-11-25T13:13:19Z")

</div>

A couple of questions how things work: What class of object is responsible for visibility of display nodes when i click on visibility icon in subject hierarchy node browser? What is the role of SubjectHierarchy plu…

---

## [Copy/move segments programmatically in Python in Segmentations module](https://discourse.slicer.org/t/copy-move-segments-programmatically-in-python-in-segmentations-module/20758)

<div class="topic-metadata">

**Author:** [@nthach17](https://discourse.slicer.org/u/nthach17)\
**Replies:** 2\
**Last updated:** [November 23, 2021, 6:58pm UTC](https://discourse.slicer.org/t/copy-move-segments-programmatically-in-python-in-segmentations-module/20758 "2021-11-23T18:58:17Z")

</div>

Slicer version: 4.11.20210226 Hello, I’m writing a Python script for moving segments from a segmentation node to another. I looked up the source code and found that the function in C++ is qSlicerSegmentationsModuleWidg…

---

## [Any way to programming specify the qSlicerWeb Widget download file location?](https://discourse.slicer.org/t/any-way-to-programming-specify-the-qslicerweb-widget-download-file-location/20578)

<div class="topic-metadata">

**Author:** [@episodes](https://discourse.slicer.org/u/episodes)\
**Replies:** 9\
**Last updated:** [November 23, 2021, 2:46pm UTC](https://discourse.slicer.org/t/any-way-to-programming-specify-the-qslicerweb-widget-download-file-location/20578 "2021-11-23T14:46:03Z")

</div>

Hi, I’m currently using the qSlicerWeb widget to build an embedded Dicom manage system based on the web. I’m wondering if there’s any way to programming set the file download save folder by python? we have the custom s…

---

## [Plotting the signals](https://discourse.slicer.org/t/plotting-the-signals/20242)

<div class="topic-metadata">

**Author:** [@wpgao](https://discourse.slicer.org/u/wpgao)\
**Replies:** 13\
**Last updated:** [November 23, 2021, 6:57am UTC](https://discourse.slicer.org/t/plotting-the-signals/20242 "2021-11-23T06:57:54Z")

</div>

Hi Guys, Is it possible to plot the signals in Slicer? I had collected the signal with different length at different times. I want to show these signals in one PlotView. I’m not sure whether PlotView support ‘subplot’ …

---

## [How can I debug the Basic Module of 3D Slicer?](https://discourse.slicer.org/t/how-can-i-debug-the-basic-module-of-3d-slicer/20593)

<div class="topic-metadata">

**Author:** [@kookoo9999](https://discourse.slicer.org/u/kookoo9999)\
**Replies:** 9\
**Last updated:** [November 23, 2021, 1:08am UTC](https://discourse.slicer.org/t/how-can-i-debug-the-basic-module-of-3d-slicer/20593 "2021-11-23T01:08:32Z")

</div>

Hi, I am making my moudle via 3D Slicer. I want to save text file of HounsFiled Unit that I had segmented by using Segmentation , Segmentation Editor in 3D Slicer. but I don’t know segmentation algorithm well. so I tri…

---

## [Trying to implement custom scalar volume node](https://discourse.slicer.org/t/trying-to-implement-custom-scalar-volume-node/20713)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 6\
**Last updated:** [November 22, 2021, 9:25pm UTC](https://discourse.slicer.org/t/trying-to-implement-custom-scalar-volume-node/20713 "2021-11-22T21:25:25Z")

</div>

Hi, As I don’t fully understand how custom nodes should be written I describe my progress and probably if someone has an advice I would appreciate. I’m working on custom node inherited from vtkMRMLScalarVolumeNode. As…

---

## [The layout is inconsistent](https://discourse.slicer.org/t/the-layout-is-inconsistent/20677)

<div class="topic-metadata">

**Author:** [@LuPingChina](https://discourse.slicer.org/u/LuPingChina)\
**Replies:** 14\
**Last updated:** [November 22, 2021, 7:01pm UTC](https://discourse.slicer.org/t/the-layout-is-inconsistent/20677 "2021-11-22T19:01:55Z")

</div>

I have a question where does the interface code of the dicom module be in the project and why can’t I find it?Also why is the layout of the retrieval form in the compiled 4.13 version dicom module be different from that …

---

## [Install extensions in Slicer in Debug](https://discourse.slicer.org/t/install-extensions-in-slicer-in-debug/20724)

<div class="topic-metadata">

**Author:** [@atracsys-sbt](https://discourse.slicer.org/u/atracsys-sbt)\
**Replies:** 1\
**Last updated:** [November 22, 2021, 6:32pm UTC](https://discourse.slicer.org/t/install-extensions-in-slicer-in-debug/20724 "2021-11-22T18:32:36Z")

</div>

Hi, To troubleshoot a crash, I’ve compiled Slicer in Debug. However, my scripted module relies on two extensions (IGSIO and IGT) and I now want to launch Slicer in Debug while loading them. From what I have read, this s…

---

## [Debug Slicer crash from scripted module](https://discourse.slicer.org/t/debug-slicer-crash-from-scripted-module/20657)

<div class="topic-metadata">

**Author:** [@atracsys-sbt](https://discourse.slicer.org/u/atracsys-sbt)\
**Replies:** 9\
**Last updated:** [November 19, 2021, 9:12pm UTC](https://discourse.slicer.org/t/debug-slicer-crash-from-scripted-module/20657 "2021-11-19T21:12:33Z")

</div>

Hi, At a certain stage in my scripted module, I’m experiencing a crash of Slicer that occurs around 1 out of 10 times. I have no clue what’s causing it, especially since this crash leaves no trace: no popup, nothing in …

---

## [How to tell if mouse is over a viewer](https://discourse.slicer.org/t/how-to-tell-if-mouse-is-over-a-viewer/20670)

<div class="topic-metadata">

**Author:** [@darren](https://discourse.slicer.org/u/darren)\
**Replies:** 3\
**Last updated:** [November 18, 2021, 3:34pm UTC](https://discourse.slicer.org/t/how-to-tell-if-mouse-is-over-a-viewer/20670 "2021-11-18T15:34:17Z")

</div>

How can you tell if you’re on the viewer? Is there something you can test so that certain functionality is disabled when the mouse is not hovered over the viewer?

---

## [How to set the title and name of the module](https://discourse.slicer.org/t/how-to-set-the-title-and-name-of-the-module/20611)

<div class="topic-metadata">

**Author:** [@LuPingChina](https://discourse.slicer.org/u/LuPingChina)\
**Replies:** 3\
**Last updated:** [November 18, 2021, 1:13pm UTC](https://discourse.slicer.org/t/how-to-set-the-title-and-name-of-the-module/20611 "2021-11-18T13:13:31Z")

</div>

How to set the title and name of the module when the application starts and before the module is used

---

## [How Can I debug the Module and create the personally Module?](https://discourse.slicer.org/t/how-can-i-debug-the-module-and-create-the-personally-module/20011)

<div class="topic-metadata">

**Author:** [@kookoo9999](https://discourse.slicer.org/u/kookoo9999)\
**Replies:** 22\
**Last updated:** [November 17, 2021, 5:23pm UTC](https://discourse.slicer.org/t/how-can-i-debug-the-module-and-create-the-personally-module/20011 "2021-11-17T17:23:37Z")

</div>

Hello everyone. I succeeded in building Slicer master branch without SimpleITK because I can’t to solve the fix error(MSB 8066 in SimpleITK.sln) during build Slicer. and I want to debug each module and I create the mod…

---

## [How to import Fiducial points into Segment Editor?](https://discourse.slicer.org/t/how-to-import-fiducial-points-into-segment-editor/20633)

<div class="topic-metadata">

**Author:** [@Karthik](https://discourse.slicer.org/u/Karthik)\
**Replies:** 5\
**Last updated:** [November 17, 2021, 6:02am UTC](https://discourse.slicer.org/t/how-to-import-fiducial-points-into-segment-editor/20633 "2021-11-17T06:02:56Z")

</div>

I have some fiducial points which I have placed using the fiducial selector in a module. If I go to Data, I can see the Markups there. I am now creating an effect in Segment Editor. How can I import the markups present i…

---

## [How to debug memory leaks in scripted modules](https://discourse.slicer.org/t/how-to-debug-memory-leaks-in-scripted-modules/20629)

<div class="topic-metadata">

**Author:** [@tsims](https://discourse.slicer.org/u/tsims)\
**Replies:** 2\
**Last updated:** [November 16, 2021, 2:44pm UTC](https://discourse.slicer.org/t/how-to-debug-memory-leaks-in-scripted-modules/20629 "2021-11-16T14:44:24Z")

</div>

Hello everyone, I have been writing a Python scripted module for slicer, and recently I have been getting warnings about memory leaks when I go to close slicer, is there a recommended way of diagnosing where those are co…

---

## [How to add a observer for monitoring slice views changes?](https://discourse.slicer.org/t/how-to-add-a-observer-for-monitoring-slice-views-changes/20621)

<div class="topic-metadata">

**Author:** [@Luke199208](https://discourse.slicer.org/u/Luke199208)\
**Replies:** 2\
**Last updated:** [November 16, 2021, 2:25am UTC](https://discourse.slicer.org/t/how-to-add-a-observer-for-monitoring-slice-views-changes/20621 "2021-11-16T02:25:42Z")

</div>

system: Windows 10 Slicer-version: 4.10.0 Hello, I am trying to add a observer to monitor the number of slice views changes. But the right way was not found. Which node and event should be used ? Slice views changes…

---

## [Get cell data of a mesh at selected point positions](https://discourse.slicer.org/t/get-cell-data-of-a-mesh-at-selected-point-positions/8859)

<div class="topic-metadata">

**Author:** [@Saima](https://discourse.slicer.org/u/Saima)\
**Replies:** 20\
**Last updated:** [November 16, 2021, 12:17am UTC](https://discourse.slicer.org/t/get-cell-data-of-a-mesh-at-selected-point-positions/8859 "2021-11-16T00:17:37Z")

</div>

---

## [How to cut multi-segments in a segmentation node with scissors at the same time?](https://discourse.slicer.org/t/how-to-cut-multi-segments-in-a-segmentation-node-with-scissors-at-the-same-time/20620)

<div class="topic-metadata">

**Author:** [@Hualin](https://discourse.slicer.org/u/Hualin)\
**Replies:** 3\
**Last updated:** [November 15, 2021, 2:22pm UTC](https://discourse.slicer.org/t/how-to-cut-multi-segments-in-a-segmentation-node-with-scissors-at-the-same-time/20620 "2021-11-15T14:22:21Z")

</div>

Hi, My slicer version is: Operating system: Arch Linux Kernel: x86\_64 Linux 5.14.16-arch1 Slicer version: 4.11.20210226 I tried to use ApplyToAllVisibleSegments effect parameter: https://slicer.readthedocs.io/en/lates…

---

## [How to access or save output image after running CLI from Python](https://discourse.slicer.org/t/how-to-access-or-save-output-image-after-running-cli-from-python/20494)

<div class="topic-metadata">

**Author:** [@gnketiah](https://discourse.slicer.org/u/gnketiah)\
**Replies:** 2\
**Last updated:** [November 15, 2021, 9:39am UTC](https://discourse.slicer.org/t/how-to-access-or-save-output-image-after-running-cli-from-python/20494 "2021-11-15T09:39:56Z")

</div>

I have created or run a CLI from Python to calculate T1 mapping as follows. cliNode = slicer.cli.runSync(slicer.modules.t1mapping, None, parameters) Detailed script: def t1mapping(parameters = {}): '''Code for run…

---

## [VSCode debugging error, bug in debugging wrapper?](https://discourse.slicer.org/t/vscode-debugging-error-bug-in-debugging-wrapper/20607)

<div class="topic-metadata">

**Author:** [@mikebind](https://discourse.slicer.org/u/mikebind)\
**Replies:** 3\
**Last updated:** [November 13, 2021, 6:08pm UTC](https://discourse.slicer.org/t/vscode-debugging-error-bug-in-debugging-wrapper/20607 "2021-11-13T18:08:31Z")

</div>

When I try to use python debugging of a custom python Slicer module using VSCode, I now regularly get the following error Exception in thread ptvsd.EventLoop: Traceback (most recent call last): File "C:/Users/mikeb/Ap…

---

## [Should we use Git LFS to manage data?](https://discourse.slicer.org/t/should-we-use-git-lfs-to-manage-data/2448)

<div class="topic-metadata">

**Author:** [@Lorensen](https://discourse.slicer.org/u/Lorensen)\
**Replies:** 14\
**Last updated:** [November 13, 2021, 1:29am UTC](https://discourse.slicer.org/t/should-we-use-git-lfs-to-manage-data/2448 "2021-11-13T01:29:07Z")

</div>

---

## [Apply stylesheet for \`ctkRangeSlider\`](https://discourse.slicer.org/t/apply-stylesheet-for-ctkrangeslider/20604)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 2\
**Last updated:** [November 12, 2021, 8:22pm UTC](https://discourse.slicer.org/t/apply-stylesheet-for-ctkrangeslider/20604 "2021-11-12T20:22:17Z")

</div>

Hi, Is there a way to change ctkRangeSlider color filled between min and max values? I look in the source code of ctkRangeSlider and I can’t understand what parameter controls this. The original QSlider seems to hav…

---

## [Detect when OpenIGTlink streamed transform no longer updated](https://discourse.slicer.org/t/detect-when-openigtlink-streamed-transform-no-longer-updated/20580)

<div class="topic-metadata">

**Author:** [@atracsys-sbt](https://discourse.slicer.org/u/atracsys-sbt)\
**Replies:** 2\
**Last updated:** [November 12, 2021, 9:12am UTC](https://discourse.slicer.org/t/detect-when-openigtlink-streamed-transform-no-longer-updated/20580 "2021-11-12T09:12:54Z")

</div>

Hi, I stream tracking data to Slicer via OpenIGTlink, but I would like to be able to detect (i.e. emit an event) when tracking is no longer updated (e.g. the tracked object goes out of range). I have looked at what met…

---

## [Cannot get label layer and foreground layer volumes](https://discourse.slicer.org/t/cannot-get-label-layer-and-foreground-layer-volumes/20588)

<div class="topic-metadata">

**Author:** [@Shazam\_L](https://discourse.slicer.org/u/Shazam_L)\
**Replies:** 1\
**Last updated:** [November 12, 2021, 5:55am UTC](https://discourse.slicer.org/t/cannot-get-label-layer-and-foreground-layer-volumes/20588 "2021-11-12T05:55:29Z")

</div>

Hello, I seem to get background layer volume but everything else is nullptr. I can visually see segmentations and there is a labellayer present This is my setup vtkSlicerApplicationLogic\* appLogic = vtkSlicerApplicat…

---

## [SVD ModelToModel Registration Idea](https://discourse.slicer.org/t/svd-modeltomodel-registration-idea/20388)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 21\
**Last updated:** [November 11, 2021, 7:10pm UTC](https://discourse.slicer.org/t/svd-modeltomodel-registration-idea/20388 "2021-11-11T19:10:00Z")

</div>

Hi. I was just thinking on an algorithm to register the same bone with boneModels of different time-points (that means segmented from different CTs). A frame for each bone can be created using the eigenVectors of the SV…

---

## [How to save MRMLCore.vtkMRMLSequenceNode to a number of images](https://discourse.slicer.org/t/how-to-save-mrmlcore-vtkmrmlsequencenode-to-a-number-of-images/20559)

<div class="topic-metadata">

**Author:** [@Illusion](https://discourse.slicer.org/u/Illusion)\
**Replies:** 7\
**Last updated:** [November 11, 2021, 2:56pm UTC](https://discourse.slicer.org/t/how-to-save-mrmlcore-vtkmrmlsequencenode-to-a-number-of-images/20559 "2021-11-11T14:56:09Z")

</div>

Operating system: Windows 10 Slicer version: 4.13.0 Hello, I am trying to write codes in Jupyter to convert a sequence of images to numpy array, in order to save the sequence to images. Currentl…

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

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