From 181b7cf986d210865b4db1a577c5e97c5001f2f6 Mon Sep 17 00:00:00 2001 From: "Joshua E. Jodesty" Date: Mon, 10 Dec 2018 23:47:08 -0500 Subject: [PATCH] multithreaded mech_pipeline in progress --- SimCAD/engine/simulation.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SimCAD/engine/simulation.py b/SimCAD/engine/simulation.py index 7bcfa43..c420f62 100644 --- a/SimCAD/engine/simulation.py +++ b/SimCAD/engine/simulation.py @@ -113,11 +113,11 @@ class Executor: dropped_right_sL = drop_right(states_list, 1) print() # print(states_list) - # if isinstance(last_states, list): - # x = list(map(lambda last_state_dict: states_list.pop().append(last_state_dict), last_states)) - # pp.pprint(states_list) + if isinstance(last_states, list): + x = list(map(lambda last_state_dict: dropped_right_sL.append(last_state_dict), last_states)) + print(x) - states_list = self.mech_step(m_step, states_list, s_conf, b_conf, env_processes, t_step, run) + # states_list = self.mech_step(m_step, states_list, s_conf, b_conf, env_processes, t_step, run) m_step += 1 t_step += 1