From 29c5d0fd32b7bab2170497e0a5adeaf23cb0ed92 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sat, 19 Apr 2025 17:49:00 -0700 Subject: [PATCH] actually make use of raw mode --- masque/file/gdsii_arrow.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/masque/file/gdsii_arrow.py b/masque/file/gdsii_arrow.py index 9accc0b..02f4ed8 100644 --- a/masque/file/gdsii_arrow.py +++ b/masque/file/gdsii_arrow.py @@ -184,6 +184,8 @@ def read_cell( layer = (bnd['layer'].as_py(), bnd['dtype'].as_py()) args = dict( vertices = bnd['xy'].values.to_numpy().reshape((-1, 2))[:-1], + raw = raw_mode, + offset = numpy.zeros(2), ) if (props := bnd['properties']).is_valid: @@ -196,6 +198,8 @@ def read_cell( layer = (gpath['layer'].as_py(), gpath['dtype'].as_py()) args = dict( vertices = gpath['xy'].values.to_numpy().reshape((-1, 2)), + offset = numpy.zeros(2), + raw = raw_mode, ) if (gcap := gpath['path_type']).is_valid: