We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e9c7e3 commit 8a7fcb0Copy full SHA for 8a7fcb0
1 file changed
src/aind_dynamic_foraging_basic_analysis/plot/plot_fip.py
@@ -68,6 +68,8 @@ def plot_fip_psth_compare_alignments( # NOQA C901
68
if isinstance(alignments, dict):
69
# We have a single NWB, given a dictionary of alignments, make it a list and we are done
70
align_list = [alignments]
71
+ elif isinstance(alignments, list) and all(isinstance(item, dict) for item in alignments):
72
+ align_list = alignments
73
elif isinstance(alignments, list):
74
align_list = []
75
for i, nwb_i in enumerate(nwb_list):
0 commit comments