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

Before Change


            result = pp.process(filepath)

        smileses = numpy.array(smiles_list) if return_smiles else None
        Result = namedtuple("ParseResult", "dataset,smiles")

        if isinstance(result, tuple):
            if self.postprocess_fn is not None:
                result = self.postprocess_fn(*result)

After Change


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

Frequency: 3

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: arviz-devs/arviz
Commit Name: 1ef23976235b32efe5f220de3e9fb14e35dec827
Time: 2018-03-19
Author: aloctavodia@gmail.com
File Name: mcmcplotlib/stats/stats.py
Class Name:
Method Name: r2_score