diff --git a/src/opticalcontroller/RSA.py b/src/opticalcontroller/RSA.py index 256aaff58f6811b47568e92e4e36dae3f72686a2..a88903ac5e1d1f823eb75917538425fc5858c8e5 100644 --- a/src/opticalcontroller/RSA.py +++ b/src/opticalcontroller/RSA.py @@ -368,7 +368,7 @@ class RSA(): # fib = link['fibers'][f] fib = self.get_link_by_name(r_l)["optical_details"] if list_in_list(slots, str_list_to_int(fib[band].keys())): - self.restore_link(fib, slots, band, link=l) + self.restore_link_2(fib, slots, band, link=l) if debug: print(fib[band]) ''' @@ -381,7 +381,7 @@ class RSA(): #rfib = rlink['fibers'][rf] rfib = self.get_fiber_details(rl, fiber_b[rl]) if not list_in_list(slots, rfib[band]): - self.restore_link(rfib, slots, band) + self.restore_link_2(rfib, slots, band) if debug: print(rfib[band]) ''' @@ -423,7 +423,7 @@ class RSA(): print(f"del_flow { str_list_to_int(fib[band].keys())}") print(f"invoking restore_link_2 fib: {fib} , slots {slots} , band {band} ") - self.restore_link(fib, slots, band) + self.restore_link_2(fib, slots, band) self.optical_bands[o_b_id]["is_active"]=False if debug: @@ -446,7 +446,7 @@ class RSA(): # fib = link['fibers'][f] fib = self.get_link_by_name(r_l)["optical_details"] if list_in_list(slots, str_list_to_int(fib[band].keys())): - self.restore_link(fib, slots, band, link=l) + self.restore_link_2(fib, slots, band, link=l) if debug: print(fib[band]) '''