Skip to content

Commit

Permalink
Merge pull request #26 from int-brain-lab/fix-delay_secs
Browse files Browse the repository at this point in the history
remove delay_secs argument
  • Loading branch information
bimac authored Jan 14, 2025
2 parents 96352fd + 491ff3c commit 8d55feb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions iblrig_custom_tasks/samuel_cuedBiasedChoiceWorld/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Session(BiasedChoiceWorldSession):

protocol_name = 'samuel_cuedBiasedChoiceWorld'

def __init__(self, *args, delay_secs=0, **kwargs):
def __init__(self, *args, **kwargs):
super().__init__(**kwargs)

# loads in the settings in order to determine the main sync and thus the pipeline extractor tasks
Expand All @@ -27,7 +27,6 @@ def __init__(self, *args, delay_secs=0, **kwargs):
# Update experiment description which was created by superclass init
next(iter(self.experiment_description['tasks']))['extractors'] = self.extractor_tasks

self.task_params['SESSION_DELAY_START'] = delay_secs
# init behaviour data
self.movement_left = self.device_rotary_encoder.THRESHOLD_EVENTS[
self.task_params.QUIESCENCE_THRESHOLDS[0]]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "project_extraction"
version = "0.5.3"
version = "0.5.4"
description = "Custom extractors for satellite tasks"
dynamic = [ "readme" ]
keywords = [ "IBL", "neuro-science" ]
Expand Down

0 comments on commit 8d55feb

Please sign in to comment.