Issue 1097 (#1148)

* [CONSIDER MERGING] Clarification and typo fixed in DRC doc.

* Implemented #1097 (discourage file compression, use CBLOCK)

* A warning is printed if file compression is enabled on OASIS
* A hint is present in the writer options
* CBLOCK is default (with fresh config) and for buddy tools
  (use --cblock=false to disable it)

* Strict mode is default too.

* Updated tests
This commit is contained in:
Matthias Köfferlein
2022-09-05 23:34:53 +02:00
committed by GitHub
parent 9ebb923d83
commit 390cac87d3
10 changed files with 317 additions and 143 deletions
+5 -1
View File
@@ -1122,7 +1122,11 @@ class DBLayoutTest(unittest.TestCase):
shape.set_property("42", "the answer")
ly.write(file_gds)
ly.write(file_oas)
opt = pya.SaveLayoutOptions()
opt.format = "OASIS"
opt.oasis_strict_mode = False
ly.write(file_oas, opt)
ly2 = pya.Layout()
ly2.read(file_gds)