Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions iblrig/base_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1591,6 +1591,8 @@ def _run(self):
break
if self.stopped:
break
# Create the transfer flag file when the session finishes.
self.paths.SESSION_FOLDER.joinpath('transfer_me.flag').touch()


class SpontaneousBpodSession(SpontaneousSession, BpodMixin):
Expand Down
2 changes: 2 additions & 0 deletions iblrig_tasks/_iblrig_tasks_passiveChoiceWorld/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ def _run(self):
self.bonsai_visual_udp_client.send_message(r'/re', byte_hide_stim)
if self.stopped:
break
# Create the transfer flag when the task finishes.
self.paths.SESSION_FOLDER.joinpath('transfer_me.flag').touch()


if __name__ == '__main__': # pragma: no cover
Expand Down
Loading