Skip to content

Commit c924da9

Browse files
committed
Update correct task dict with extractors list
1 parent 8d55feb commit c924da9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

iblrig_custom_tasks/samuel_cuedBiasedChoiceWorld/task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __init__(self, *args, **kwargs):
2525
trials_task = 'CuedBiasedTrials' if is_main_sync else 'CuedBiasedTrialsTimeline'
2626
self.extractor_tasks = ['TrialRegisterRaw', trials_task, 'TrainingStatus']
2727
# Update experiment description which was created by superclass init
28-
next(iter(self.experiment_description['tasks']))['extractors'] = self.extractor_tasks
28+
self.experiment_description['tasks'][-1][self.protocol_name]['extractors'] = self.extractor_tasks
2929

3030
# init behaviour data
3131
self.movement_left = self.device_rotary_encoder.THRESHOLD_EVENTS[

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "project_extraction"
7-
version = "0.5.4"
7+
version = "0.5.5"
88
description = "Custom extractors for satellite tasks"
99
dynamic = [ "readme" ]
1010
keywords = [ "IBL", "neuro-science" ]

0 commit comments

Comments
 (0)