63eefcc59a3d9ed5347695869833e48a91404108,core/eolearn/core/eodata.py,EOPatch,save_aws,#EOPatch#Any#Any#Any#Any#Any#Any#,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


        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: 4

Non-data size: 6

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: uber/pyro
Commit Name: c33a8dea80135050a1178c984d4e36d76a00db7e
Time: 2020-08-06
Author: 28861239+sharrison5@users.noreply.github.com
File Name: pyro/infer/util.py
Class Name:
Method Name: get_dependent_plate_dims


Project Name: EducationalTestingService/skll
Commit Name: 140f9765f4c4f5165fd546bea30b2c473b9abb10
Time: 2014-11-07
Author: dblanchard@ets.org
File Name: skll/utilities/join_features.py
Class Name:
Method Name: main


Project Name: cmu-db/ottertune
Commit Name: 944a0ccc8dc9110516192b0b41a12e8f9612f7ef
Time: 2020-02-20
Author: dvanaken@cs.cmu.edu
File Name: server/website/website/db/base/parser.py
Class Name: BaseParser
Method Name: extract_valid_variables