f5fe2bf2204d2223a6dcb9bd2a0b16c358ca2826,dataPrepScripts/CreateTensor.py,,GenerateTensor,#,18

Before Change


                else:
                    print >> sys.stderr, "Should not reach here: %s, %s" % (refBase, queryBase)

    outputLine = "%s %d %s" % (ctgName, center, refSeq[center-(param.flankingBaseNum+1):center+param.flankingBaseNum])
    for x in alnCode:
        outputLine += " %0.1f" % x
    return outputLine

After Change



    newRefPos = center - (0 if args.refStart == None else (args.refStart - 1))
    if (newRefPos - (param.flankingBaseNum+1) >= 0):
        outputLine = "%s %d %s %s" % (ctgName, center, refSeq[newRefPos-(param.flankingBaseNum+1):newRefPos+param.flankingBaseNum], " ".join("%0.1f" % x for x in alnCode))
        return outputLine
    else:
        return None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: aquaskyline/Clairvoyante
Commit Name: f5fe2bf2204d2223a6dcb9bd2a0b16c358ca2826
Time: 2018-03-23
Author: aquaskyline@gmail.com
File Name: dataPrepScripts/CreateTensor.py
Class Name:
Method Name: GenerateTensor


Project Name: jazzband/django-debug-toolbar
Commit Name: d29f055713636c5629ddb7f48805536d39e550cb
Time: 2011-03-24
Author: dcramer@gmail.com
File Name: debug_toolbar/panels/sql.py
Class Name: SQLDebugPanel
Method Name: nav_subtitle


Project Name: jazzband/django-debug-toolbar
Commit Name: 634bd0d68cb30d25705a049d46aa72e9a64e9dbd
Time: 2011-04-06
Author: rob@cogit8.org
File Name: debug_toolbar/panels/sql.py
Class Name: SQLDebugPanel
Method Name: nav_subtitle