Skip to content

Commit

Permalink
Skip __temp__ ephys folder copying
Browse files Browse the repository at this point in the history
  • Loading branch information
bjhardcastle committed Dec 9, 2023
1 parent e02c372 commit 58ba321
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/np_workflows/shared/base_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,8 @@ def copy_ephys(self) -> None:
password = np_config.fetch('/logins')['svc_neuropix']['password']
ssh = fabric.Connection(host=np_services.OpenEphys.host, user='svc_neuropix', connect_kwargs=dict(password=password))
for ephys_folder in np_services.OpenEphys.data_files:
if '__temp__' in ephys_folder.name:
continue
if isinstance(self.session, np_session.TempletonPilotSession):
ephys_folder = next(ephys_folder.glob('Record Node*'))
with ssh, contextlib.suppress(invoke.UnexpectedExit):
Expand Down

0 comments on commit 58ba321

Please sign in to comment.