diff --git a/ubc2/ubc_simon_bends.py b/ubc2/ubc_simon_bends.py index ce613a4..2246507 100644 --- a/ubc2/ubc_simon_bends.py +++ b/ubc2/ubc_simon_bends.py @@ -48,7 +48,7 @@ def test_mask_bends_circular( e += [ add_gc( c, - name=f"bends_circular_radius_{radius:1.3f}_nbends_{num_bends}", + component_name=f"bends_circular_radius_{radius:1.3f}_nbends_{num_bends}", optical_routing_type=2, fanout_length=1, with_loopback=True, @@ -85,7 +85,7 @@ def test_mask_bends_euler( e += [ add_gc( c, - name=f"bends_euler_radius_{radius:1.3f}_nbends_{num_bends}", + component_name=f"bends_euler_radius_{radius:1.3f}_nbends_{num_bends}", optical_routing_type=2, with_loopback=True, fanout_length=1, diff --git a/ubc2/ubc_simon_loss.py b/ubc2/ubc_simon_loss.py index 20a6058..9ddd227 100644 --- a/ubc2/ubc_simon_loss.py +++ b/ubc2/ubc_simon_loss.py @@ -106,7 +106,7 @@ def test_mask_continuum( gap=gap, width=width, length=length, slab_width=slab_width ), with_loopback=True, - name=f"continuum_gap_{gap:1.3f}_width_{width:1.3f}_length_{length:1.3f}", + component_name=f"continuum_gap_{gap:1.3f}_width_{width:1.3f}_length_{length:1.3f}", fanout_length=30, optical_routing_type=1, )