7ca79b945accfbf1c5e435eac1e9e25c0d808272,prody/proteins/blastpdb.py,,blastPDB,#Any#Any#,13

Before Change



    if kwargs:
        LOGGER.warn("Keyword argument(s) {0} are not used."
                    .format(", ".join([repr(key) for key in kwargs])))

    try:
        import urllib.parse

After Change


    elif isinstance(sequence, Sequence):
        sequence = str(sequence)
    elif isinstance(sequence, str):
        if len(sequence) == 4 or len(sequence) == 5:
            ag = parsePDB(sequence)
            sequence = ag.select("calpha and chain %s" % chain).getSequence()
    else:
        raise TypeError("seq must be an atomic class, sequence class, or str not {0}"
                        .format(type(sequence)))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: prody/ProDy
Commit Name: 7ca79b945accfbf1c5e435eac1e9e25c0d808272
Time: 2018-02-19
Author: jamesmkrieger@gmail.com
File Name: prody/proteins/blastpdb.py
Class Name:
Method Name: blastPDB


Project Name: etal/cnvkit
Commit Name: 5bfa69a11ac39e4236be07c1ea445d53732da252
Time: 2016-10-07
Author: eric.talevich@gmail.com
File Name: cnvlib/gary.py
Class Name: GenomicArray
Method Name: __init__


Project Name: chartbeat-labs/textacy
Commit Name: b57c2bda0933c0f64531b55b737c13c5a57f3740
Time: 2016-03-19
Author: burton@chartbeat.com
File Name: textacy/texts.py
Class Name: TextDoc
Method Name: __repr__