From 780126b6880f2965d711af295165efedd44e459f Mon Sep 17 00:00:00 2001 From: Mayo Faulkner Date: Thu, 27 Jun 2024 11:43:17 +0100 Subject: [PATCH] account for no acquisition software --- ibllib/pipes/dynamic_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibllib/pipes/dynamic_pipeline.py b/ibllib/pipes/dynamic_pipeline.py index 17c0b2bc4..a4f2d5735 100644 --- a/ibllib/pipes/dynamic_pipeline.py +++ b/ibllib/pipes/dynamic_pipeline.py @@ -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):