investigating len(configs) in block_pipeline
This commit is contained in:
parent
980bba081a
commit
d7a25176ec
|
|
@ -2,6 +2,7 @@
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.idea
|
.idea
|
||||||
notebooks/.ipynb_checkpoints
|
notebooks/.ipynb_checkpoints
|
||||||
|
notebooks/multithreading.ipynb
|
||||||
SimCAD.egg-info
|
SimCAD.egg-info
|
||||||
__pycache__
|
__pycache__
|
||||||
Pipfile
|
Pipfile
|
||||||
|
|
|
||||||
|
|
@ -79,6 +79,7 @@ class Executor:
|
||||||
def block_pipeline(self, states_list, configs, env_processes, time_seq, run):
|
def block_pipeline(self, states_list, configs, env_processes, time_seq, run):
|
||||||
time_seq = [x + 1 for x in time_seq]
|
time_seq = [x + 1 for x in time_seq]
|
||||||
simulation_list = [states_list]
|
simulation_list = [states_list]
|
||||||
|
# print(len(configs))
|
||||||
for time_step in time_seq:
|
for time_step in time_seq:
|
||||||
pipe_run = self.mech_pipeline(simulation_list[-1], configs, env_processes, time_step, run)
|
pipe_run = self.mech_pipeline(simulation_list[-1], configs, env_processes, time_step, run)
|
||||||
_, *pipe_run = pipe_run
|
_, *pipe_run = pipe_run
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue