From 89451af571d3050eb51b95d585d342eccef1440e Mon Sep 17 00:00:00 2001 From: h-mayorquin Date: Wed, 19 Oct 2022 14:16:19 +0200 Subject: [PATCH] drop condition that should be catched at initialization --- .../datainterfaces/ecephys/neuralynx/neuralynxdatainterface.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/neuroconv/datainterfaces/ecephys/neuralynx/neuralynxdatainterface.py b/src/neuroconv/datainterfaces/ecephys/neuralynx/neuralynxdatainterface.py index 20b2c5b25..782303ae7 100644 --- a/src/neuroconv/datainterfaces/ecephys/neuralynx/neuralynxdatainterface.py +++ b/src/neuroconv/datainterfaces/ecephys/neuralynx/neuralynxdatainterface.py @@ -125,8 +125,6 @@ def _dict_intersection(dict_list: List) -> Dict: dict: Dictionary containing key-value pairs common to all input dicitionary_list """ - if len(dict_list) == 0: - return dict() # Collect keys appearing in all dictionaries common_keys = list(set.intersection(*[set(h.keys()) for h in dict_list]))