Ejemplo n.º 1
0
def test():
    import dev
    from hsviz import viz
    main_locals = dev.dev_main()
    hs = main_locals['hs']  # hotspotter api
    qcx = main_locals['qcx']  # query chip index
    viz.viz_spatial_verification(hs, qcx)
def test():
    import dev
    from hsviz import viz
    main_locals = dev.dev_main()
    hs  = main_locals['hs']        # hotspotter api
    qcx = main_locals['qcx']       # query chip index
    viz.viz_spatial_verification(hs, qcx)
Ejemplo n.º 3
0
        elif cmd in ['fig']:
            state.fnum_offset += 1
        elif cmd in ['smin', 'scale_min']:
            state.scale_min = int(ans[1])
            update_valid()
        elif cmd in ['smax', 'scale_max']:
            state.scale_max = int(ans[1])
            update_valid()
        else:
            print('I dont understand the answer. I hope you know what you are doing');
            print(raw)
            exec raw in globals(), locals()
        print('>>>')
      except Exception as ex:
          print(repr(ex))
          if 'doraise' in vars():
            raise

if __name__ == '__main__':
    from multiprocessing import freeze_support
    import draw_func2 as df2
    freeze_support()
    print('[interact] __main__ ')
    main_locals = dev.dev_main()
    exec(helpers.execstr_dict(main_locals, 'main_locals'))
    fnum = 1
    interact1(hs, qon_list, fnum)
    #df2.update()
    exec(df2.present()) #**df2.OooScreen2()