From e487a4fc561ade43d99c6021da1be93c7ddb2b97 Mon Sep 17 00:00:00 2001 From: Alex Tait Date: Fri, 6 Dec 2019 11:01:52 -0700 Subject: [PATCH] bug in translation --- lygadgets/cell_translation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lygadgets/cell_translation.py b/lygadgets/cell_translation.py index d7f4798..cc4e59b 100644 --- a/lygadgets/cell_translation.py +++ b/lygadgets/cell_translation.py @@ -189,6 +189,7 @@ def anyCell_to_anyCell(initial_cell, final_cell): The supported types and their mapping to write methods are contained in celltype_to_write_function and celltype_to_read_function. ''' + global do_write_ports do_write_ports_orig = do_write_ports do_write_ports = True tempfile = os.path.realpath('temp_cellTranslation.gds')