Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/b/i/biopython-1.63/Bio/motifs/jaspar/db.py   biopython(Download)
 
        # separate stable ID and version number
        (base_id, version) = jaspar.split_jaspar_id(id) 
        if not version:
            # if ID contains no version portion, fetch latest version by default
                for id in matrix_id:
                    # ignore vesion here, this is a stupidity filter
                    (base_id, version) = jaspar.split_jaspar_id(id) 
                    cur.execute(
                        "select ID from MATRIX where BASE_ID = %s", base_id
                # only the lastest version, or the requested version
                for id in matrix_id:
                    (base_id, version) = jaspar.split_jaspar_id(id) 
 
                    if not version:

src/b/i/biopython-HEAD/Bio/motifs/jaspar/db.py   biopython(Download)
 
        # separate stable ID and version number
        (base_id, version) = jaspar.split_jaspar_id(id) 
        if not version:
            # if ID contains no version portion, fetch latest version by default
                for id in matrix_id:
                    # ignore vesion here, this is a stupidity filter
                    (base_id, version) = jaspar.split_jaspar_id(id) 
                    cur.execute(
                        "select ID from MATRIX where BASE_ID = %s", base_id
                # only the lastest version, or the requested version
                for id in matrix_id:
                    (base_id, version) = jaspar.split_jaspar_id(id) 
 
                    if not version: