Skip to content

Commit

Permalink
Copy out positions buffer also
Browse files Browse the repository at this point in the history
  • Loading branch information
pgleeson committed Oct 10, 2024
1 parent 4e6e757 commit b6ffffe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions master_openworm.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,12 @@ def execute_with_realtime_output(command, directory, env=None):
print("Moving %s to %s"%(report, new_sim_out))
shutil.move(report, new_sim_out)

# Copy position files etc.
reports = glob.glob('%s/position_buffer*' % latest_subdir)
for report in reports:
print("Moving %s to %s"%(report, new_sim_out))
shutil.move(report, new_sim_out)

# Copy WCON file(s)
wcons = glob.glob('%s/*.wcon' % latest_subdir)
for wcon in wcons:
Expand Down

0 comments on commit b6ffffe

Please sign in to comment.