Skip to content

Commit b6ffffe

Browse files
committed
Copy out positions buffer also
1 parent 4e6e757 commit b6ffffe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

master_openworm.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,12 @@ def execute_with_realtime_output(command, directory, env=None):
222222
print("Moving %s to %s"%(report, new_sim_out))
223223
shutil.move(report, new_sim_out)
224224

225+
# Copy position files etc.
226+
reports = glob.glob('%s/position_buffer*' % latest_subdir)
227+
for report in reports:
228+
print("Moving %s to %s"%(report, new_sim_out))
229+
shutil.move(report, new_sim_out)
230+
225231
# Copy WCON file(s)
226232
wcons = glob.glob('%s/*.wcon' % latest_subdir)
227233
for wcon in wcons:

0 commit comments

Comments
 (0)