ec9520b39f585d22894802c23b7a735f19752c8a,chainer_chemistry/dataset/parsers/sdf_file_parser.py,SDFFileParser,parse,#SDFFileParser#Any#Any#,33

Before Change


        if isinstance(result, tuple):
            if self.postprocess_fn is not None:
                result = self.postprocess_fn(*result)
            return Result(NumpyTupleDataset(*result), smileses)
        else:
            if self.postprocess_fn is not None:
                result = self.postprocess_fn(result)
            return Result(NumpyTupleDataset(result), smileses)

After Change


        else:
            if self.postprocess_fn is not None:
                result = self.postprocess_fn(result)
            parse_result.update({"dataset": result, "smiles": smileses})
            return parse_result
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: pfnet-research/chainer-chemistry
Commit Name: ec9520b39f585d22894802c23b7a735f19752c8a
Time: 2018-02-25
Author: mottodora@gmail.com
File Name: chainer_chemistry/dataset/parsers/sdf_file_parser.py
Class Name: SDFFileParser
Method Name: parse


Project Name: pfnet-research/chainer-chemistry
Commit Name: ec9520b39f585d22894802c23b7a735f19752c8a
Time: 2018-02-25
Author: mottodora@gmail.com
File Name: chainer_chemistry/dataset/parsers/csv_file_parser.py
Class Name: CSVFileParser
Method Name: parse


Project Name: MolSSI/QCEngine
Commit Name: 76d930ec1fe1e18300c835ddf938afd943d4ad05
Time: 2019-06-10
Author: lori.burns@gmail.com
File Name: qcengine/programs/dftd3.py
Class Name: DFTD3Harness
Method Name: compute


Project Name: MolSSI/QCEngine
Commit Name: 1895a1e954eb0ee668deffe0de9b2207b5c04c9c
Time: 2019-06-07
Author: lori.burns@gmail.com
File Name: qcengine/programs/mp2d.py
Class Name: MP2DHarness
Method Name: compute