0163532bd311653fea70ab08474384e34027846a,oddt/docking/AutodockVina.py,autodock_vina,dock,#autodock_vina#Any#Any#Any#,256

Before Change


                    raise Exception("Autodock Vina failed. Command: "%s"" % " ".join(e.cmd))
            // HACK // overcome connectivity problems in obabel
            source_ligand = six.next(toolkit.readfile("pdbqt", ligand_file))
            del source_ligand.data["REMARK"]
            if (hasattr(oddt.toolkits, "ob") and
                    isinstance(self.protein, oddt.toolkits.ob.Molecule)):
                kwargs = {"opt": {"b": None}}
            else:

After Change


            else:
                kwargs = {"flexible": True}
                source_ligand = ligand  // rdkit perserves the order
            if "REMARK" in source_ligand.data:
                del source_ligand.data["REMARK"]
            for lig, scores in zip([lig for lig in toolkit.readfile("pdbqt", ligand_outfile, **kwargs)], vina):
                // HACK // copy data from source
                clone = source_ligand.clone
                clone.clone_coords(lig)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 9

Non-data size: 5

Instances


Project Name: oddt/oddt
Commit Name: 0163532bd311653fea70ab08474384e34027846a
Time: 2017-11-23
Author: maciek@wojcikowski.pl
File Name: oddt/docking/AutodockVina.py
Class Name: autodock_vina
Method Name: dock


Project Name: AlexEMG/DeepLabCut
Commit Name: 3ca64e59d66a3be1701ebf58cdf4c2a0320be2f8
Time: 2018-11-13
Author: amathis@fas.harvard.edu
File Name: deeplabcut/pose_estimation_tensorflow/evaluate.py
Class Name:
Method Name: evaluate_network


Project Name: ContextLab/hypertools
Commit Name: 04d6dac03933dde25493cf5476ac683bda513d87
Time: 2016-12-29
Author: andrew.heusser@gmail.com
File Name: hypertools/plot/animate.py
Class Name:
Method Name: animated_plot


Project Name: ContextLab/hypertools
Commit Name: 0aa082a7fab4b5071e435cb3eeebfc90fad2b109
Time: 2016-12-29
Author: andrew.heusser@gmail.com
File Name: hypertools/plot/animate.py
Class Name:
Method Name: animated_plot


Project Name: ContextLab/hypertools
Commit Name: d70148c230bb219ff47d6b88707f5c5a1f0a7bc7
Time: 2016-12-29
Author: andrew.heusser@gmail.com
File Name: hypertools/plot/animate.py
Class Name:
Method Name: animated_plot


Project Name: ContextLab/hypertools
Commit Name: 17fe45d4ffb544abbe2ac2225a233df08f9fa6f0
Time: 2016-12-29
Author: andrew.heusser@gmail.com
File Name: hypertools/plot/animate.py
Class Name:
Method Name: animated_plot


Project Name: thenetcircle/dino
Commit Name: dc3ff78fc9e66b0688c6f591934d052bcffd2e14
Time: 2016-10-05
Author: oscar.eriks@gmail.com
File Name: test/test_env.py
Class Name: TestEnvironment
Method Name: test_env


Project Name: AlexEMG/DeepLabCut
Commit Name: 3ca64e59d66a3be1701ebf58cdf4c2a0320be2f8
Time: 2018-11-13
Author: amathis@fas.harvard.edu
File Name: deeplabcut/pose_estimation_tensorflow/predict_videos.py
Class Name:
Method Name: analyze_videos


Project Name: PyMVPA/PyMVPA
Commit Name: 879db9b0d40187b6a498419a481178a12d3e925a
Time: 2010-01-20
Author: debian@onerussian.com
File Name: mvpa/measures/anova.py
Class Name: CompoundOneWayAnova
Method Name: _call