View Issue Details

IDProjectCategoryView StatusLast Update
0004520Slicer4Core: GUIpublic2018-03-22 11:02
ReporterpinterAssigned Tofedorov 
PrioritylowSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product VersionSlicer 4.9.0 
Target VersionSlicer 4.11.0Fixed in Version 
Summary0004520: Segment Statistics selected plugin list not updated when parameter set is changed
Description

When a new parameter set node is created in Segment Statistics, the plugin checkboxes are not updated

Steps To Reproduce

The way I originally found out about the issue:

  • Calculate segment statistics using only the Labelmap Statistics plugin
  • Close scene
  • Load new data
  • Create new parameter set in Segment Statistics (after closing the scene there is none)
  • Only the Labelmap Statistics checkbox is on, but when clicking Apply, it calculates all of them. If any of the checkboxes is checked/unchecked, then it's updated and it can be seen that all the plugins are enabled
TagsNo tags attached.

Activities

fedorov

fedorov

2018-03-19 09:42

developer   ~0015575

On Mon, Mar 19, 2018 at 9:18 AM, Christian Bauer <christian-bauer@uiowa.edu> wrote:

I'd like to test it before making a PR, but won't have time until
Thursday. Hope that's fine.

On Mon, 2018-03-19 at 09:12 -0400, Andrey Fedorov wrote:

Will make a PR?

On Mar 19, 2018 08:58, "Christian Bauer" <christian-bauer@uiowa.edu>
wrote:
I added the code for plugin selection and just went through
https://github.com/Slicer/Slicer/blob/08fec03c10955e813b22886697ee2cdb346898df/Modules/Scripted/SegmentStatistics/SegmentStatistics.py

    We need to add after line 229: a
    self.updateGuiFromParameterNode()

    That should fix the issue.
fedorov

fedorov

2018-03-22 11:02

developer   ~0015611

Patch submitted by Christian Bauer: https://github.com/Slicer/Slicer/pull/922

Issue History

Date Modified Username Field Change
2018-03-16 14:39 pinter New Issue
2018-03-16 14:39 pinter Status new => assigned
2018-03-16 14:39 pinter Assigned To => lassoan
2018-03-18 08:20 lassoan Assigned To lassoan => fedorov
2018-03-19 09:42 fedorov Note Added: 0015575
2018-03-22 11:02 fedorov Note Added: 0015611