5ee3708f842d739d6effe24fbb0464c40e1a330d,ilastik/applets/dataSelection/opDataSelection.py,DatasetInfo,pathIsN5,#Any#Any#,276

Before Change



    @classmethod
    def pathIsN5(cls, path:str) -> bool:
        return os.path.splitext(path)[1].lower() in (".n5")

    def isN5(self) -> bool:
        return self.pathIsN5(self.externalPath)

After Change



    @classmethod
    def pathIsN5(cls, path:str) -> bool:
        return PathComponents(path).extension in [".n5"]

    def isN5(self) -> bool:
        return self.pathIsN5(self.externalPath)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: ilastik/ilastik
Commit Name: 5ee3708f842d739d6effe24fbb0464c40e1a330d
Time: 2019-07-12
Author: tomaz.vieira@embl.de
File Name: ilastik/applets/dataSelection/opDataSelection.py
Class Name: DatasetInfo
Method Name: pathIsN5


Project Name: ilastik/ilastik
Commit Name: 5ee3708f842d739d6effe24fbb0464c40e1a330d
Time: 2019-07-12
Author: tomaz.vieira@embl.de
File Name: ilastik/applets/dataSelection/opDataSelection.py
Class Name: DatasetInfo
Method Name: pathIsHdf5


Project Name: ilastik/ilastik
Commit Name: 11f7f78752c88ab3b42561ebbdf137a9b86a6ce3
Time: 2017-03-24
Author: k-dominik@users.noreply.github.com
File Name: ilastik/widgets/stackFileSelectionWidget.py
Class Name: StackFileSelectionWidget
Method Name: _selectFiles