27d87a988d
redo library merging
2023-10-15 16:18:33 -07:00
d0f76d150f
Make default quiet for underscores
2023-10-15 16:18:33 -07:00
2ccef554db
misc fixes
2023-10-15 16:18:33 -07:00
680da46f5c
LazyLibrary should not contain Tree
s
...
altering itself during iteration is not a good idea
2023-10-15 16:18:33 -07:00
59a986546c
missing import
2023-10-15 16:18:33 -07:00
19ac45a4f4
fix type for __contains__
2023-10-15 16:18:33 -07:00
8687badac5
misc fixes
2023-10-15 16:18:33 -07:00
4a6584a60a
Only allow 1-sized Libraries
2023-10-15 16:18:33 -07:00
4a94259249
Allow lshift to operate on any library. If only one name, return it, else None
2023-10-15 16:18:33 -07:00
7cc732248e
add missing functions to tree
2023-10-15 16:18:33 -07:00
38585e5a9e
add lshift operator to MutableLibrary
2023-10-15 16:18:33 -07:00
039320d180
fix add_tree operator
2023-10-15 16:18:32 -07:00
853c20e8df
Allow LazyLibrary to store Trees as well?
2023-10-15 16:18:32 -07:00
f642c226c7
Use lshift for tree combination
2023-10-15 16:18:32 -07:00
abc721cf67
ergonomics
2023-10-15 16:18:32 -07:00
d8e789f179
Add Tree as a possible way to allow construction of whole subtrees at once
2023-10-15 16:18:32 -07:00
234557dc93
Add move_references() and auto-move references during add()-with-rename
...
Also remove enable_cache, since we now rely on the cache.
2023-10-15 16:18:32 -07:00
439d5914e0
implement auto-renaming during merge, and change _merge() to support it
2023-10-15 16:18:32 -07:00
ac9776628a
remove some trailing undescores
2023-10-15 16:18:32 -07:00
ab8fd9b351
add NamedPattern
2023-10-15 16:18:32 -07:00
1a9116cdbe
add .create()
2023-10-15 16:18:32 -07:00
e5029ae21d
add library .rename(...)
2023-10-15 16:18:32 -07:00
0172b7488e
missing comma
2023-10-15 16:18:32 -07:00
5fcd31a719
add name_and_set
2023-10-15 16:18:32 -07:00
2940316c48
add missing comments
2023-10-15 16:18:32 -07:00
c0e4ee1b6b
Allow library __setitem__ to take in either Pattern or Callable
...
No longer need it to be Generic!
2023-10-15 16:18:32 -07:00
5452bc5608
more fixes and improvements
2023-10-15 16:18:32 -07:00
d9fe295f4f
get things working with a LazyLibrary hack while we think about cycles
2023-10-15 16:18:32 -07:00
f4537a0feb
Lots of progress on tutorials
2023-10-15 16:18:32 -07:00
b75c8de0c4
lots of fixes to get test_rep running
2023-10-15 16:18:32 -07:00
71db073a54
add todos
2023-10-15 16:18:32 -07:00
a6cb276468
add AbstractView
2023-10-15 16:18:32 -07:00
090e86644a
Move Abstract into its own file
2023-10-15 16:18:32 -07:00
0368cf7a00
library can generate abstracts
2023-10-15 16:18:32 -07:00
6b01b43559
flake8-aided fixes
2023-10-15 16:18:32 -07:00
557c6c98dc
more wip -- most central stuff is first pass done
2023-10-15 16:18:32 -07:00
9efb6f0eeb
wip
2023-10-15 16:18:32 -07:00
c7f3e7ee52
Remove support for dose
...
Since there isn't GDS/OASIS level support for dose, this can be mostly
handled by using arbitrary layers/dtypes directly. Dose scaling isn't
handled as nicely that way, but it corresponds more directly to what
gets written to file.
2023-10-15 16:18:32 -07:00
f7a2edfe23
fix some type-related issues
2023-10-15 16:18:32 -07:00
7ca017d993
wip again
2023-10-15 16:18:32 -07:00
f7b8f2db0c
various fixes
2023-10-15 16:18:32 -07:00
e3511ed852
remove duplicatre __delitem__
2023-10-15 16:18:32 -07:00
a4f89e6f48
improve docs
2023-10-15 16:18:32 -07:00
52f0b4aa93
Add lib types
2023-10-15 16:18:32 -07:00
7aaf73cb37
WIP: make libraries and names first-class!
2023-10-15 16:18:32 -07:00