View Issue Details

IDProjectCategoryView StatusLast Update
0001503Slicer4Core: Usabilitypublic2012-08-21 09:43
Reporterhjmjohnson Assigned Tofinetjul  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.0.0Fixed in VersionSlicer 4.0.0 
Summary0001503: _seg.nii.gz files no longer auto select as "label images"
Description

In slicer3 if a file had a "_seg.nii.gz" suffix it would automatically be recognized as a label map by default.

This behavior has gone away in Slicer4.

TagsNo tags attached.

Activities

pieper

pieper

2011-11-03 04:39

administrator   ~0003237

The code to do this in slicer3 is in Base/GUI/Tcl/Loader.tcl

if { $type == "Volume" } {
$w InsertCellTextAsInt $i $col(Centered) 0
$w SetCellWindowCommandToCheckButton $i $col(Centered)

set seg [string match -nocase "*seg*" $path] 
$w InsertCellTextAsInt $i $col(LabelMap) $seg
$w SetCellWindowCommandToCheckButton $i $col(LabelMap)

}

finetjul

finetjul

2011-11-05 12:30

administrator   ~0003264

Fixed in 18614:
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=18614

The match is now "\bseg\b" where "\b" is a word boundary (-> not a letter).

hjmjohnson

hjmjohnson

2012-05-24 04:23

developer   ~0004594

This is fixed now.

Issue History

Date Modified Username Field Change
2011-10-26 13:41 hjmjohnson New Issue
2011-11-03 04:39 pieper Note Added: 0003237
2011-11-03 04:39 pieper Assigned To => finetjul
2011-11-03 04:39 pieper Status new => assigned
2011-11-05 12:30 finetjul Note Added: 0003264
2011-11-05 12:31 finetjul Status assigned => resolved
2011-11-05 12:31 finetjul Fixed in Version => Slicer 4.0 RSNA
2011-11-05 12:31 finetjul Resolution open => fixed
2012-05-24 04:23 hjmjohnson Note Added: 0004594
2012-05-24 04:23 hjmjohnson Status resolved => closed
2012-08-21 09:43 jcfr Target Version => Slicer 4.0.0