def tilequeue_stuck_tiles(cfg, peripherals):
    """
    Check which files exist on s3 but are not in toi.
    """
    store = _make_store(cfg)
    format = lookup_format_by_extension('zip')
    layer = 'all'

    assert peripherals.toi, 'Missing toi'
    toi = peripherals.toi.fetch_tiles_of_interest()

    for coord in store.list_tiles(format, layer):
        coord_int = coord_marshall_int(coord)
        if coord_int not in toi:
            print serialize_coord(coord)
def tilequeue_stuck_tiles ( cfg , peripherals ) : store = _make_store ( cfg ) format = lookup_format_by_extension ( 'zip' ) layer = 'all' assert peripherals . toi , 'Missing toi' toi = peripherals . toi . fetch_tiles_of_interest ( ) for coord in store . list_tiles ( format , layer ) : coord_int = coord_marshall_int ( coord ) if coord_int not in toi : print serialize_coord ( coord )
Check which files exist on s3 but are not in toi.