def get_gds_size(self):
    conf = self.config['gds']
    gds_file = os.path.abspath(os.path.join(self.directory, conf['directory'], conf['gds_filename']))
    gdsii = gdspy.GdsLibrary(infile=gds_file)
    toplevel = gdsii.top_level()[0]
    return toplevel.get_bounding_box()[1]
def get_gds_size(self):
    conf = self.config['gds']
    gds_file = os.path.abspath(os.path.join(self.directory, conf['directory'], conf['gds_filename']))
    gdsii = gdspy.GdsLibrary(infile=gds_file)
    toplevel = gdsii.top_level()[0]
    return toplevel.get_bounding_box()[1]