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

Before Change


                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:
                error_msg = "Cannot save features {} with overwrite_permission=OverwritePermission.ADD_ONLY "

After Change



        self._check_case_matching(eopatch_features, fs_features)

        if overwrite_permission is OverwritePermission.ADD_ONLY:
            self._check_add_only_permission(eopatch_features, fs_features)

        itr = [(ftype, fname, path) for ftype, fname, path in eopatch_features]

        ftypes = {(ftype, fs.path.dirname(path)) for ftype, _, path in itr if not ftype.is_meta()}
        for ftype, dirname in ftypes:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

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: dit/dit
Commit Name: d9d0fc7550188ecb44636f999971b663efd88869
Time: 2014-08-07
Author: ryangregoryjames@gmail.com
File Name: dit/utils/information_partitions.py
Class Name: ShannonPartition
Method Name: get_atoms