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

Before Change


            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:
                error_msg = "Cannot save features {} with overwrite_permission=OverwritePermission.ADD_ONLY "
                raise ValueError(error_msg.format(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: tyarkoni/pliers
Commit Name: 005968dcfbd2a8f70d8ea3957c8abba60a12492d
Time: 2018-05-15
Author: quinten.mcnamara@gmail.com
File Name: pliers/filters/video.py
Class Name: FrameSamplingFilter
Method Name: _filter


Project Name: RaRe-Technologies/gensim
Commit Name: 680de8d4f35325e7486c07c4e06422929e826b57
Time: 2019-01-10
Author: __Singleton__@hackerdom.ru
File Name: gensim/corpora/lowcorpus.py
Class Name: LowCorpus
Method Name: line2doc