0a98d74d940a7ccb0010aeb39c821942a91f1268,ilastik/applets/dataSelection/opDataSelection.py,DatasetInfo,expandPath,#Any#Any#Any#,217

Before Change


                externalPath = os.path.join(cwd, components.externalPath)
            unglobbed_paths = glob.glob(os.path.expanduser(externalPath))
            if not unglobbed_paths:
                raise Exception(f"Could not find file at {components.externalPath}")
            for ext_path in unglobbed_paths:
                if not cls.fileHasInternalPaths(ext_path) or not components.internalPath:
                    expanded_paths.append(ext_path)
                    continue

After Change


                externalPath = os.path.join(cwd, components.externalPath)
            unglobbed_paths = glob.glob(os.path.expanduser(externalPath))
            if not unglobbed_paths:
                raise FileNotFoundError(externalPath)
            for ext_path in unglobbed_paths:
                if not cls.fileHasInternalPaths(ext_path) or not components.internalPath:
                    expanded_paths.append(ext_path)
                    continue
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: ilastik/ilastik
Commit Name: 0a98d74d940a7ccb0010aeb39c821942a91f1268
Time: 2019-07-19
Author: tomaz.vieira@embl.de
File Name: ilastik/applets/dataSelection/opDataSelection.py
Class Name: DatasetInfo
Method Name: expandPath


Project Name: WheatonCS/Lexos
Commit Name: 0e4574ca20ea16f83e528fed3028f388f9354459
Time: 2017-08-08
Author: delandaluce_alvaro@wheatoncollege.edu
File Name: lexos/helpers/general_functions.py
Class Name:
Method Name: copy_dir


Project Name: azavea/raster-vision
Commit Name: fe8fee4f05e08a6448d46b8f70d960f02ef048b8
Time: 2021-01-08
Author: AdeelH@users.noreply.github.com
File Name: rastervision_core/rastervision/core/data/label_store/semantic_segmentation_label_store.py
Class Name: SemanticSegmentationLabelStore
Method Name: get_labels