Skip to content

Commit

Permalink
account for no acquisition software
Browse files Browse the repository at this point in the history
  • Loading branch information
mayofaulkner committed Jun 27, 2024
1 parent 7c2135c commit 780126b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibllib/pipes/dynamic_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def _sync_label(sync, acquisition_software=None, **_):
The sync label for determining the extractor tasks.
"""

return acquisition_software if (sync == 'nidq' and acquisition_software != 'spikeglx') else sync
return acquisition_software if (sync == 'nidq' and acquisition_software not in ('spikeglx', None)) else sync


def make_pipeline(session_path, **pkwargs):
Expand Down

0 comments on commit 780126b

Please sign in to comment.