Commit b2b587a6 authored by Maxim Onciul's avatar Maxim Onciul
Browse files

verobository

parent 4f9d2be6
......@@ -11,6 +11,8 @@ def receive_data():
config: Dict[str, Any] = run_pi.common()
config["socket"].bind(config["me"])
print(config)
for idx in range(config["num_runs"]):
with open(config["cipher_file"][idx], "w") as f:
for _ in range(config["k"]):
......@@ -29,6 +31,8 @@ def receive_data():
lambda _, __: config["cipher_file"][idx], lambda _, __: run_pi.create_errs(config, idx)
)
print("mapped pi")
call: List[str] = [config["code"]] + [
"-e",
"-l",
......@@ -40,6 +44,7 @@ def receive_data():
"-k",
str(config["k"]),
]
print(call)
with ExitStack() as exit_stack:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment