multithreaded mech_pipeline in progress

This commit is contained in:
Joshua E. Jodesty 2018-12-10 23:47:08 -05:00
parent f55124fbb0
commit 181b7cf986
1 changed files with 4 additions and 4 deletions

View File

@ -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