investigating len(configs) in block_pipeline

This commit is contained in:
Joshua E. Jodesty 2018-12-11 01:10:16 -05:00
parent 980bba081a
commit d7a25176ec
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
.DS_Store
.idea
notebooks/.ipynb_checkpoints
notebooks/multithreading.ipynb
SimCAD.egg-info
__pycache__
Pipfile

View File

@ -79,6 +79,7 @@ class Executor:
def block_pipeline(self, states_list, configs, env_processes, time_seq, run):
time_seq = [x + 1 for x in time_seq]
simulation_list = [states_list]
# print(len(configs))
for time_step in time_seq:
pipe_run = self.mech_pipeline(simulation_list[-1], configs, env_processes, time_step, run)
_, *pipe_run = pipe_run