412dd41ebd8f3573ba5762a13f5e80d8244a1d89,core/eolearn/core/eodata.py,EOPatch,save_aws_new,#EOPatch#Any#Any#Any#Any#Any#,849

Before Change


            def check_feature(ftype, fname, _):
                return ftype, fname if fname is ... else fname.lower()

            fs_features = {check_feature(*feature) for feature in self.walk_filesystem(filesystem, patch_location, features)}
            eop_features = {check_feature(*feature) for feature in self.walk_eopatch(self, patch_location, features)}

            intersection = fs_features.intersection(eop_features)
            if intersection:

After Change


        eopatch_features = list(self.walk_eopatch(self, patch_location, features))

        if overwrite_permission is OverwritePermission.ADD_ONLY:
            fs_features = list(self.walk_filesystem(filesystem, patch_location, features))
        else:
            fs_features = []

        self._check_case_matching(eopatch_features, fs_features)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: sentinel-hub/eo-learn
Commit Name: 412dd41ebd8f3573ba5762a13f5e80d8244a1d89
Time: 2019-12-24
Author: jovan.visnjic@sinergise.com
File Name: core/eolearn/core/eodata.py
Class Name: EOPatch
Method Name: save_aws_new


Project Name: pgmpy/pgmpy
Commit Name: daa7947850ea7df6763ec076548ae4b372ee3fb9
Time: 2015-03-25
Author: pratyaksh@me.com
File Name: pgmpy/inference/ExactInference.py
Class Name: VariableElimination
Method Name: induced_graph


Project Name: sentinel-hub/eo-learn
Commit Name: c95071740d6f5ad15e6e223b9a0385b758391212
Time: 2019-12-02
Author: matic.lubej@sinergise.com
File Name: core/eolearn/core/eodata.py
Class Name: EOPatch
Method Name: save_aws