3b3a06ad8402079c2d18718349d5f0f212ac7b81,deepchem/feat/base_classes.py,ComplexFeaturizer,featurize,#ComplexFeaturizer#Any#Any#,158

Before Change


      results.append(
          pool.apply_async(ComplexFeaturizer._featurize_callback,
                           (self, mol_file, protein_pdb, log_message)))
    pool.close()
    features = []
    failures = []
    for ind, result in enumerate(results):
      new_features = result.get()

After Change


    

    if not isinstance(complexes, Iterable):
      complexes = [cast(Tuple[str, str], complexes)]
    features = []
    for i, point in enumerate(complexes):
      if i % log_every_n == 0:
        logger.info("Featurizing datapoint %i" % i)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: deepchem/deepchem
Commit Name: 3b3a06ad8402079c2d18718349d5f0f212ac7b81
Time: 2020-12-11
Author: nfrey213@gmail.com
File Name: deepchem/feat/base_classes.py
Class Name: ComplexFeaturizer
Method Name: featurize


Project Name: 10XGenomics/cellranger
Commit Name: e5396c6c444acec6af84caa7d3655dd33a162852
Time: 2018-03-16
Author: paul.ryvkin@10xgenomics.com
File Name: tenkit/lib/python/tenkit/tabix.py
Class Name:
Method Name: sort_vcf


Project Name: ilastik/ilastik
Commit Name: 90652f3ace604fe73144b3d022b6c2acd5993d89
Time: 2019-08-01
Author: emilmelnikov@gmail.com
File Name: ilastik/applets/counting/countingsvr.py
Class Name: SVR
Method Name: writeHDF5