eaab14a5e970f0901494ae488c3cb88f991c2a76,source/test.py,,simple_inclusive,#Any#,36

Before Change



def simple_inclusive(sentences):
    for sentence in sentences:
        for word in sentence.split(" "):
            if word in indicatives:
                print (sentence)

// exclusive
// minimum_spaces = 2
// minimum_lettres = 12
conventions = ["c.[0-9]+[ACTG]>[ACTG]"]
// list comprehension for "p.Lys76Asn" e.g. [(p.X[0-9]+Y) with X in aa, Y in aa]
// V232fs --> frameshift
// delta Phe581

After Change


        for word in words:
            iword += 1
            itotal += 1
            if word in indicatives:
                // print (sentence, isen, iword, itotal)
                for i in xrange(iword - 1, len(words) - 1):
                    if words[i] in positions:
                        // print (words[i], "found")
                        found.append([itotal, i - iword + 1])
                        break
                    elif words[i] == words[len(words) - 1]:
                        print ("not found")
    return found
// print (words[iword - 1])

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: Rostlab/nalaf
Commit Name: eaab14a5e970f0901494ae488c3cb88f991c2a76
Time: 2015-05-16
Author: carsten.uhlig@gmail.com
File Name: source/test.py
Class Name:
Method Name: simple_inclusive


Project Name: keras-team/keras
Commit Name: 65e4f94e45f32d9cbe99337d74ed9c1ebad3412a
Time: 2015-06-03
Author: jason.ramapuram@viasat.com
File Name: keras/layers/core.py
Class Name: AutoEncoder
Method Name: __init__


Project Name: Rostlab/nalaf
Commit Name: eaab14a5e970f0901494ae488c3cb88f991c2a76
Time: 2015-05-16
Author: carsten.uhlig@gmail.com
File Name: source/test.py
Class Name:
Method Name: simple_inclusive


Project Name: geekcomputers/Python
Commit Name: 139259ac8ac83160502cbb896371ce4fa4027361
Time: 2019-10-10
Author: ml.smiley3@gmail.com
File Name: primelib/primelib.py
Class Name:
Method Name: sieveEr