call to subset() should be recursive

This commit is contained in:
Jan Petykiewicz 2022-04-05 18:20:11 -07:00
parent 40cd9903f6
commit f015e1e1c1

View File

@ -53,6 +53,7 @@ def prepare_cell(
shapes_func=lambda ss: ss.layer == layer, shapes_func=lambda ss: ss.layer == layer,
labels_func=lambda ll: ll.layer in label_layers, labels_func=lambda ll: ll.layer in label_layers,
subpatterns_func=lambda ss: True, subpatterns_func=lambda ss: True,
recursive=True,
) )
flat = subset.flatten() flat = subset.flatten()