# Development

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

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

**Page:** 130

---

## [DICOM export of segmentation node](https://discourse.slicer.org/t/dicom-export-of-segmentation-node/313)

<div class="topic-metadata">

**Author:** [@hgueziri](https://discourse.slicer.org/u/hgueziri)\
**Replies:** 7\
**Last updated:** [May 17, 2017, 3:44am UTC](https://discourse.slicer.org/t/dicom-export-of-segmentation-node/313 "2017-05-17T03:44:45Z")

</div>

Hi everyone, I am writing a python module and wanted to know if it is possible to export a Segmentation node to a RTSS DICOM without its associated DICOM volume ? In the example of the attached image: I want to export …

---

## [Running CLI modules on a remote server](https://discourse.slicer.org/t/running-cli-modules-on-a-remote-server/328)

<div class="topic-metadata">

**Author:** [@mirclem](https://discourse.slicer.org/u/mirclem)\
**Replies:** 3\
**Last updated:** [May 16, 2017, 9:36pm UTC](https://discourse.slicer.org/t/running-cli-modules-on-a-remote-server/328 "2017-05-16T21:36:12Z")

</div>

---

## [Access color table in CLI module](https://discourse.slicer.org/t/access-color-table-in-cli-module/318)

<div class="topic-metadata">

**Author:** [@mirclem](https://discourse.slicer.org/u/mirclem)\
**Replies:** 7\
**Last updated:** [May 16, 2017, 5:28pm UTC](https://discourse.slicer.org/t/access-color-table-in-cli-module/318 "2017-05-16T17:28:07Z")

</div>

One more question… I noticed that the colormaps have an attribute “reference” in the tag “table” but I couldn’t find a way to access it. \<table hidden="true" type="color" reference="InputVolume"\> \<name\>ColorTable\</n…

---

## [Iterate over slicer modules](https://discourse.slicer.org/t/iterate-over-slicer-modules/215)

<div class="topic-metadata">

**Author:** [@mirclem](https://discourse.slicer.org/u/mirclem)\
**Replies:** 6\
**Last updated:** [May 1, 2017, 9:08pm UTC](https://discourse.slicer.org/t/iterate-over-slicer-modules/215 "2017-05-01T21:08:43Z")

</div>

Hello, I am working on creating a program to get all the modules loaded in Slicer. I know I can access the list with all the module names, I also know that I can access a module by hard typing the module name like "sli…

---

## [Edit Image Data in Scalar Volume Node](https://discourse.slicer.org/t/edit-image-data-in-scalar-volume-node/317)

<div class="topic-metadata">

**Author:** [@jks1995](https://discourse.slicer.org/u/jks1995)\
**Replies:** 1\
**Last updated:** [May 15, 2017, 9:10pm UTC](https://discourse.slicer.org/t/edit-image-data-in-scalar-volume-node/317 "2017-05-15T21:10:14Z")

</div>

Hello, I am working on an extension where I am instantiating a new scalar volume node and then want to edit the values of the data for use later. I notice when I instantiate a new node that there is no image data, so I…

---

## [External calling at Slicer 3D](https://discourse.slicer.org/t/external-calling-at-slicer-3d/136)

<div class="topic-metadata">

**Author:** [@Alba\_Garcia\_de\_la\_Ca](https://discourse.slicer.org/u/Alba_Garcia_de_la_Ca)\
**Replies:** 7\
**Last updated:** [May 15, 2017, 8:16pm UTC](https://discourse.slicer.org/t/external-calling-at-slicer-3d/136 "2017-05-15T20:16:21Z")

</div>

Hi everybody, I am programming an extension module for Slicer 3D. In one step I need to call an external command (Elastix). At this point is when I obtain the following error: I have not been able to solve it yet. D…

---

## [loadVolume: how can I include properties like lablemap when loading?](https://discourse.slicer.org/t/loadvolume-how-can-i-include-properties-like-lablemap-when-loading/302)

<div class="topic-metadata">

**Author:** [@drAl](https://discourse.slicer.org/u/drAl)\
**Replies:** 4\
**Last updated:** [May 12, 2017, 2:44pm UTC](https://discourse.slicer.org/t/loadvolume-how-can-i-include-properties-like-lablemap-when-loading/302 "2017-05-12T14:44:11Z")

</div>

Hi everyone! i'm writing a script in python and I would like to set the labelmap to TRUE when loading a volume. I can't find the way to do it with the slicer.util.loadVolume(fileName, properties, returnNode) instructi…

---

## [Set min/max bounding of transforms programmatically](https://discourse.slicer.org/t/set-min-max-bounding-of-transforms-programmatically/294)

<div class="topic-metadata">

**Author:** [@mangotee](https://discourse.slicer.org/u/mangotee)\
**Replies:** 2\
**Last updated:** [May 11, 2017, 7:20am UTC](https://discourse.slicer.org/t/set-min-max-bounding-of-transforms-programmatically/294 "2017-05-11T07:20:32Z")

</div>

Hi all, I am trying to manipulate the entries of a transform (vtkMRMLLinearTransformNode) in Slicer programmatically, specifically, I'd like to set the translation part to a value larger than 200 (or smaller than -200)…

---

## [Zooming into microscopy data using 3D Slicer](https://discourse.slicer.org/t/zooming-into-microscopy-data-using-3d-slicer/288)

<div class="topic-metadata">

**Author:** [@Fernando](https://discourse.slicer.org/u/Fernando)\
**Replies:** 6\
**Last updated:** [May 10, 2017, 8:23pm UTC](https://discourse.slicer.org/t/zooming-into-microscopy-data-using-3d-slicer/288 "2017-05-10T20:23:36Z")

</div>

Hi all, During 2016 Summer Slicer Week we worked on a project using histology to build an atlas. @pieper gave me some useful tips for this. Here's a video Tina asked me to upload: Sonia and Steve said this could b…

---

## [Reading inputs and writing outputs in CLI module](https://discourse.slicer.org/t/reading-inputs-and-writing-outputs-in-cli-module/268)

<div class="topic-metadata">

**Author:** [@f.cnunez](https://discourse.slicer.org/u/f.cnunez)\
**Replies:** 8\
**Last updated:** [May 9, 2017, 1:01pm UTC](https://discourse.slicer.org/t/reading-inputs-and-writing-outputs-in-cli-module/268 "2017-05-09T13:01:23Z")

</div>

Hi all, I am doing a CLI module in which I am trying to pass the .stl chosen in a file browser, created with the .xml file. In the .cxx file, I read the file chosen and the data is converted to polydata and then it…

---

## [DIfficult to install Slicer because the installer is not signed](https://discourse.slicer.org/t/difficult-to-install-slicer-because-the-installer-is-not-signed/238)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 3\
**Last updated:** [May 8, 2017, 4:04pm UTC](https://discourse.slicer.org/t/difficult-to-install-slicer-because-the-installer-is-not-signed/238 "2017-05-08T16:04:20Z")

</div>

It is getting more and more difficult to install Slicer's unsigned installation package. On Windows, the user has to click through a series of dialog boxes explaining how unsafe this downloaded application is and recen…

---

## [Using SimpleITK with Segmentations](https://discourse.slicer.org/t/using-simpleitk-with-segmentations/280)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 9\
**Last updated:** [May 8, 2017, 1:50pm UTC](https://discourse.slicer.org/t/using-simpleitk-with-segmentations/280 "2017-05-08T13:50:59Z")

</div>

---

## [Segment radioactive seeds in brachytherapy patients and calculate dose](https://discourse.slicer.org/t/segment-radioactive-seeds-in-brachytherapy-patients-and-calculate-dose/266)

<div class="topic-metadata">

**Author:** [@hongtao\_zhang](https://discourse.slicer.org/u/hongtao_zhang)\
**Replies:** 8\
**Last updated:** [May 6, 2017, 3:39am UTC](https://discourse.slicer.org/t/segment-radioactive-seeds-in-brachytherapy-patients-and-calculate-dose/266 "2017-05-06T03:39:32Z")

</div>

Hi Csaba, I am working with Tina Kapur now. I am a doctor and physicist focus on 125I seeds brachytherapy in China. It is difficult to use TPS to segment the seed in CT automatically. After the brachytherapy, the physici…

---

## [Include itk remote modules in Slicer build](https://discourse.slicer.org/t/include-itk-remote-modules-in-slicer-build/274)

<div class="topic-metadata">

**Author:** [@emckenzi123](https://discourse.slicer.org/u/emckenzi123)\
**Replies:** 1\
**Last updated:** [May 6, 2017, 3:21am UTC](https://discourse.slicer.org/t/include-itk-remote-modules-in-slicer-build/274 "2017-05-06T03:21:19Z")

</div>

Hello, I successfully built Slicer from source (4.7) for the first time and I would like to include some remote itk modules. I see them in the ...\\ITKv4\\Modules\\Remote directory, but how do I incorporate them into my bu…

---

## [Can't write to file system from Slicer](https://discourse.slicer.org/t/cant-write-to-file-system-from-slicer/275)

<div class="topic-metadata">

**Author:** [@tdiprima](https://discourse.slicer.org/u/tdiprima)\
**Replies:** 1\
**Last updated:** [May 5, 2017, 9:17pm UTC](https://discourse.slicer.org/t/cant-write-to-file-system-from-slicer/275 "2017-05-05T21:17:58Z")

</div>

I really could use some advice, not sure what to do at this point. So we're trying to write a zip file, for the user, to a directory of their choosing. The procedure works on Linux and Mac, but not Windows. The problem…

---

## [How to access vtkRenderer from CLI](https://discourse.slicer.org/t/how-to-access-vtkrenderer-from-cli/269)

<div class="topic-metadata">

**Author:** [@DanC](https://discourse.slicer.org/u/DanC)\
**Replies:** 2\
**Last updated:** [May 4, 2017, 10:17pm UTC](https://discourse.slicer.org/t/how-to-access-vtkrenderer-from-cli/269 "2017-05-04T22:17:07Z")

</div>

Hi all. I would like to update the renderer as the vtk poly data changes(vtkPolyDataWriter) within a CLI loop. Is there a way to force the renderer to re-render? It seems that it would be possible from a python script, b…

---

## [Data Store documentation](https://discourse.slicer.org/t/data-store-documentation/178)

<div class="topic-metadata">

**Author:** [@Lorensen](https://discourse.slicer.org/u/Lorensen)\
**Replies:** 7\
**Last updated:** [May 2, 2017, 8:14pm UTC](https://discourse.slicer.org/t/data-store-documentation/178 "2017-05-02T20:14:07Z")

</div>

I have been trying to upload an mrb to the DataStore using the Slice module, I notice that uploaded data set does not have an index,json file that somehow describes the .png file that holds my scene view. Also, the metad…

---

## [Nightly packages availability](https://discourse.slicer.org/t/nightly-packages-availability/239)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 0\
**Last updated:** [May 2, 2017, 3:09am UTC](https://discourse.slicer.org/t/nightly-packages-availability/239 "2017-05-02T03:09:42Z")

</div>

I will update this topic when we expect issues with nightly build generation. 2017-05-02: Due to power outage in Kitware NC office, linux nightly package should NOT be expected.

---

## [Change label color using python script](https://discourse.slicer.org/t/change-label-color-using-python-script/213)

<div class="topic-metadata">

**Author:** [@brhoom](https://discourse.slicer.org/u/brhoom)\
**Replies:** 7\
**Last updated:** [April 28, 2017, 9:08pm UTC](https://discourse.slicer.org/t/change-label-color-using-python-script/213 "2017-04-28T21:08:02Z")

</div>

Dear all, how can I combine all the colors in the "label" image to one color using python script. Thanks IIbraheem

---

## [Users wiki main page](https://discourse.slicer.org/t/users-wiki-main-page/224)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 2\
**Last updated:** [April 28, 2017, 7:47pm UTC](https://discourse.slicer.org/t/users-wiki-main-page/224 "2017-04-28T19:47:20Z")

</div>

As we discussed I edited the main users' page, see here https://www.slicer.org/wiki/Documentation/Nightly The basic idea was to make it easier to find core modules, and make searching easier as well (no multiple result…

---

## [Cannot close my MantisBT entry](https://discourse.slicer.org/t/cannot-close-my-mantisbt-entry/221)

<div class="topic-metadata">

**Author:** [@jondo](https://discourse.slicer.org/u/jondo)\
**Replies:** 1\
**Last updated:** [April 28, 2017, 2:32pm UTC](https://discourse.slicer.org/t/cannot-close-my-mantisbt-entry/221 "2017-04-28T14:32:27Z")

</div>

Hi, I want to close my issue 0004369: "Report bugs" dialog's link to the slicer-users mailing list is broken, but I don't have the permissions to change the Status field from 'new'. So I just set the Resolution field. Is…

---

## [Tests broken by recent Python updates](https://discourse.slicer.org/t/tests-broken-by-recent-python-updates/214)

<div class="topic-metadata">

**Author:** [@ihnorton](https://discourse.slicer.org/u/ihnorton)\
**Replies:** 1\
**Last updated:** [April 27, 2017, 5:30pm UTC](https://discourse.slicer.org/t/tests-broken-by-recent-python-updates/214 "2017-04-27T17:30:31Z")

</div>

Something in the changes between 25945 and 25971 seems to have broken a number of Python tests in extensions, e.g.: http://slicer.cdash.org/index.php?project=Slicer4&date=2017-04-25&filtercount=1&showfilters=1&field1=l…

---

## [Latest master does not build in Debug mode](https://discourse.slicer.org/t/latest-master-does-not-build-in-debug-mode/191)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.slicer.org/u/dzenanz)\
**Replies:** 7\
**Last updated:** [April 27, 2017, 1:29pm UTC](https://discourse.slicer.org/t/latest-master-does-not-build-in-debug-mode/191 "2017-04-27T13:29:47Z")

</div>

I started clean builds of c9dc6c8008bfc3978e36b8032f14ccaa895680fc in debug and release on Win10 with VS2013 x64. Release mode builds without error. In debug mode I get below errors. I think I had all settings with defau…

---

## [Build failure on Ubuntu](https://discourse.slicer.org/t/build-failure-on-ubuntu/197)

<div class="topic-metadata">

**Author:** [@Lorensen](https://discourse.slicer.org/u/Lorensen)\
**Replies:** 11\
**Last updated:** [April 26, 2017, 5:34pm UTC](https://discourse.slicer.org/t/build-failure-on-ubuntu/197 "2017-04-26T17:34:03Z")

</div>

Just did and update and tried to rebuild Slicer. I get the error: loading initial cache file /home/lorensen/ProjectsGIT/Slicer-Superbuild/zlib-prefix/tmp/zlib-cache-Release.cmake CMake Error at CMakeLists.txt:3 (PROJEC…

---

## [Windows build, unordered\_map](https://discourse.slicer.org/t/windows-build-unordered-map/174)

<div class="topic-metadata">

**Author:** [@tdiprima](https://discourse.slicer.org/u/tdiprima)\
**Replies:** 6\
**Last updated:** [April 26, 2017, 1:36pm UTC](https://discourse.slicer.org/t/windows-build-unordered-map/174 "2017-04-26T13:36:12Z")

</div>

Hi all, I'm using the \<tr1/unordered\_map\> header and std::tr1 namespace in one of my programs. Works fine for Linux. During the nightly build for Windows, I'm getting errors. I believe #include \<unordered\_map\> is …

---

## [Slicer build 2017-04-26](https://discourse.slicer.org/t/slicer-build-2017-04-26/193)

<div class="topic-metadata">

**Author:** [@tdiprima](https://discourse.slicer.org/u/tdiprima)\
**Replies:** 1\
**Last updated:** [April 26, 2017, 11:24am UTC](https://discourse.slicer.org/t/slicer-build-2017-04-26/193 "2017-04-26T11:24:23Z")

</div>

FYI - Last night's Slicer build failed. Error 1 Error 2 Says: Unknown distribution option: 'test\_suite' (EDIT: Removing additional issue... I figured out what our problem was.) Thanks!

---

## [Extension manager category list](https://discourse.slicer.org/t/extension-manager-category-list/160)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 8\
**Last updated:** [April 22, 2017, 1:42am UTC](https://discourse.slicer.org/t/extension-manager-category-list/160 "2017-04-22T01:42:56Z")

</div>

Only the first 14 category names show up in the extension manager (Windows, latest nightly): For example, Registration category is not shown. How should we fix this? Option A: fix category in all s4ext files to ha…

---

## [Updating an extension](https://discourse.slicer.org/t/updating-an-extension/169)

<div class="topic-metadata">

**Author:** [@Lorensen](https://discourse.slicer.org/u/Lorensen)\
**Replies:** 8\
**Last updated:** [April 21, 2017, 10:11pm UTC](https://discourse.slicer.org/t/updating-an-extension/169 "2017-04-21T22:11:03Z")

</div>

It has been a LONG time since I worked with extensions. I have made changes to my extension SwissSkullStripper. I have tested it with my local Slicer build. Now I would like to replace the old version. When I make Expe…

---

## [Scripted module dependency loaded too late for one module but for another one not](https://discourse.slicer.org/t/scripted-module-dependency-loaded-too-late-for-one-module-but-for-another-one-not/142)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 7\
**Last updated:** [April 21, 2017, 2:43am UTC](https://discourse.slicer.org/t/scripted-module-dependency-loaded-too-late-for-one-module-but-for-another-one-not/142 "2017-04-21T02:43:19Z")

</div>

From: Christian Herz / http://slicer-devel.65872.n3.nabble.com/Scripted-module-dependency-loaded-too-late-for-one-module-but-for-another-one-not-tt4038485.html Hi developers, I noticed that there is something wrong w…

---

## [Educating developers about Slicer dashboard](https://discourse.slicer.org/t/educating-developers-about-slicer-dashboard/151)

<div class="topic-metadata">

**Author:** [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Replies:** 1\
**Last updated:** [April 20, 2017, 10:56pm UTC](https://discourse.slicer.org/t/educating-developers-about-slicer-dashboard/151 "2017-04-20T22:56:43Z")

</div>

Today I was approached by a developer who has an existing extension published, but didn't know about Slicer dashboard existence. Trying to put myself into a new developer shoes, I went over some of the getting started …

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

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