63eefcc59a3d9ed5347695869833e48a91404108,core/eolearn/core/eodata.py,EOPatch,save_aws,#EOPatch#,564

Before Change


        :type s3client: botocore.client.S3
        

        features = [(ftype, fname) for ftype, fname in FeatureParser(features)(self)]

        ftrs = [(ftype, fname) for ftype, fname in features if not ftype.is_meta()]
        meta = list(set([(ftype, ...) for ftype, _ in features if ftype.is_meta()]))
        features = ftrs + meta

        file_saver_list = self._get_save_file_list("", "", features, file_format, compress_level)
        paths = [saver.get_file_path(patch_location) for saver in file_saver_list]

After Change


        :type s3client: botocore.client.S3
        

        features = list(FeatureParser(features)(self))

        ftrs = {(ftype, fname) for ftype, fname in features if not ftype.is_meta()}
        meta = {(ftype, ...) for ftype, _ in features if ftype.is_meta()}
        features = list(ftrs | meta)

        file_saver_list = self._get_save_file_list("", "", features, file_format, compress_level)
        paths = [saver.get_file_path(patch_location) for saver in file_saver_list]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


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


Project Name: librosa/librosa
Commit Name: 9b95e0f07b60b6a144893dcc506dfaf90db61c95
Time: 2020-05-18
Author: bmcfee@users.noreply.github.com
File Name: librosa/feature/utils.py
Class Name:
Method Name: stack_memory


Project Name: geekcomputers/Python
Commit Name: e1c4e6a7c7db68e123d978bfc56feb057898935f
Time: 2019-10-24
Author: kostasdedesar@penguin
File Name: Counting-sort.py
Class Name:
Method Name: