def channelIDChanged(self, channel):
        #if one identifier changes, we only have to change that filelist
        if len(self.fileList)<channel+1:
            print "!!! something went wrong with allocating enough lists for channels !!!"
            return
        temp = os.path.splitext(str(self.path.text()))[0]
        chfiles = temp + "*" + str(self.channelIDs[channel].text()) + "*"
        self.fileList[channel] = sorted(glob.glob(chfiles), key=str.lower)
        self.optionsWidget.setShapeInfo(self.fileList, self.options.channels)
dataset/ETHPy150Open ilastik/ilastik-0.5/ilastik/gui/stackloader.py/StackLoader.channelIDChanged/original