def round_width(glyph, gridsize):
    _width = float(glyph.width) / gridsize
    glyph.width = round(_width) * gridsize
    glyph.update()
Find primary keys
dataset/ETHPy150Open gferreira/hTools2/Lib/hTools2/modules/glyphutils.py/round_width--crossover with--dataset/ETHPy150Open uwdata/termite-data-server/web2py/scripts/extract_pgsql_models.py/primarykeys