def deserialize(string): """ Generate a BlankGeometry object from a string representation. """ circle_strs = string.split(BlankGeometry._SERIAL_DELIM) barcode_bounds = [] for string in circle_strs: circle = Circle.deserialize(string) barcode_bounds.append(circle) geo = BlankGeometry([]) geo._barcode_bounds = barcode_bounds return geo