2cfc3302457147bfcebe9bac5168cfc1e8139ffc,invesalius/gui/import_panel.py,InnerPanel,LoadDicom,#InnerPanel#Any#,172

Before Change


        interval = self.combo_interval.GetSelection()
        if not isinstance(group, dcm.DicomGroup):
            group = max(group.GetGroups(), key=lambda g: g.nslices)
        ps.Publisher().sendMessage("Open DICOM group", (group, interval))
        
        
class TextPanel(wx.Panel):
    def __init__(self, parent):

After Change



        nslices_result = group.nslices / (interval + 1)

        if (nslices_result > 1):
            ps.Publisher().sendMessage("Open DICOM group", (group, interval))
        else:
            dlg.MissingFilesForReconstruction()

class TextPanel(wx.Panel):
    def __init__(self, parent):
        wx.Panel.__init__(self, parent, -1)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: invesalius/invesalius3
Commit Name: 2cfc3302457147bfcebe9bac5168cfc1e8139ffc
Time: 2010-03-05
Author: paulojamorim@gmail.com
File Name: invesalius/gui/import_panel.py
Class Name: InnerPanel
Method Name: LoadDicom


Project Name: invesalius/invesalius3
Commit Name: def86810264ba212dac05d89e24a42446a6bdabd
Time: 2010-01-26
Author: tatiana.alchueyr@gmail.com
File Name: invesalius/control.py
Class Name: Controller
Method Name: LoadProject


Project Name: invesalius/invesalius3
Commit Name: d4ff914694d97469f49962b6a39ea8007626811b
Time: 2016-08-11
Author: paulojamorim@gmail.com
File Name: invesalius/gui/import_bitmap_panel.py
Class Name: TextPanel
Method Name: OnSelChanged