8c7303cf0c49de8b8a18a101876f0eed9155ab90,prody/ensemble/functions.py,,buildPDBEnsemble,#Any#Any#Any#Any#Any#Any#Any#Any#Any#,337

Before Change



    // obtain the hierarhical view of the reference PDB
    refhv = refpdb.getHierView()
    refchains = list(refhv)

    // obtain the atommap of all the chains combined.
    atoms = refchains[0]
    for i in range(1, len(refchains)):

After Change


            raise ValueError("labels and PDBs must be the same length.")

    msa = kwargs.get("msa", None)
    if msa is not None:
        if len(msa) != len(PDBs):
            raise ValueError("msa and PDBs must be the same length.")

        alignments = []
        refseq = msa[msa.getIndex(refpdb.getTitle())]
        for sequence in msa:
            alignments.append([str(refseq), str(sequence)])

        kwargs.set("alignments", alignments)

    // obtain refchains from the hierarhical view of the reference PDB
    refchains = list(refpdb.getHierView())

    // obtain the atommap of all the chains combined.
    atoms = refchains[0]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: prody/ProDy
Commit Name: 8c7303cf0c49de8b8a18a101876f0eed9155ab90
Time: 2018-03-04
Author: jamesmkrieger@gmail.com
File Name: prody/ensemble/functions.py
Class Name:
Method Name: buildPDBEnsemble


Project Name: snorkel-team/snorkel
Commit Name: 8a55bc7c982d291c9698d979c2e14bc79d396cd7
Time: 2019-08-13
Author: hancock.braden@gmail.com
File Name: snorkel/classification/models/advanced/advanced_classifier.py
Class Name: AdvancedClassifier
Method Name: forward


Project Name: fgnt/pb_bss
Commit Name: f9ead8dbcf9737b9740c5ed89c4c5843a707274d
Time: 2019-08-01
Author: cbj@mail.uni-paderborn.de
File Name: pb_bss/evaluation/wrapper.py
Class Name: InputMetrics
Method Name: stoi