def draw_drawBox_Sch__test(sch_file,pts): """Run drawbox sch and launch gschem. You should expect to see a box at the coordinates""" draw.drawBox_sch(sch_file,pts) openSch = """gschem %s""" % sch_file subprocess.call(['sh','-c',openSch])
def getCrnPtsSch__test(sch_file): pts = getCrnPts.get_MinMax_xy_sch(sch_file) print pts draw.drawBox_sch(sch_file,pts) openSch = """gschem %s""" % sch_file subprocess.call(['sh','-c',openSch])