195841638761666503f914c374a31ef54a0d4be7,deepchem/featurizers/__init__.py,Featurizer,featurize,#Featurizer#Any#Any#Any#Any#Any#Any#,101

Before Change


        if verbosity is not None and i % log_every_n == 0:
          log("Featurizing %d / %d" % (i, len(mols)))
        if mol is not None:
          features.append(self._featurize(mol))
        else:
          features.append(np.array([]))

After Change


        if verbosity is not None and i % log_every_n == 0:
          log("Featurizing %d / %d" % (i, len(mols)))
        if mol is not None:
          myfeatures = self._featurize(mol)
          features.append(myfeatures)
          //features.append(self._featurize(mol))
        else:
          features.append(np.array([]))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: deepchem/deepchem
Commit Name: 195841638761666503f914c374a31ef54a0d4be7
Time: 2016-05-18
Author: jgomes@berkeley.edu
File Name: deepchem/featurizers/__init__.py
Class Name: Featurizer
Method Name: featurize


Project Name: deepchem/deepchem
Commit Name: 4710045c7990b0da0e857599df9e0c41116146ad
Time: 2016-05-18
Author: jgomes@berkeley.edu
File Name: deepchem/featurizers/__init__.py
Class Name: Featurizer
Method Name: featurize


Project Name: deepchem/deepchem
Commit Name: eaf30e0297fa1f18e97e96abd292bd8362ce67ea
Time: 2016-04-30
Author: bharath.ramsundar@gmail.com
File Name: deepchem/featurizers/__init__.py
Class Name: Featurizer
Method Name: featurize