Commit 2f0ab5e51b0eccdc3a0a6637ed306d68597d57bd

Authored by Etienne Pallier
1 parent 38cf2c43
Exists in dev

bugfix simulateur

src/device_controller/concrete_component/sbig/sbig_simulator.py
@@ -141,7 +141,7 @@ def make_answer_for_request(request_bytes:bytes): @@ -141,7 +141,7 @@ def make_answer_for_request(request_bytes:bytes):
141 elif command_start in ('GC','GL', 'Gg', 'Gt'): 141 elif command_start in ('GC','GL', 'Gg', 'Gt'):
142 answer = Memo.get(command_start[1]) 142 answer = Memo.get(command_start[1])
143 ##answer = getc().get_answer_for_native_command(command_start) 143 ##answer = getc().get_answer_for_native_command(command_start)
144 - print("****** (SIM) answer for native cmd", command_start, "is:", getc().get_answer_for_native_cmd(command_start)) 144 + print("****** (SIM) answer for native cmd", command_start, "is:", getc().get_simulated_answer_for_native_cmd(command_start))
145 # Gemini telescope replaces "*" with ":" 145 # Gemini telescope replaces "*" with ":"
146 if command_start in ('Gg','Gt'): answer = answer.replace('*',':') 146 if command_start in ('Gg','Gt'): answer = answer.replace('*',':')
147 else: 147 else: