From 8923138297008fb7e268f06e8f9d82d12a3f8291 Mon Sep 17 00:00:00 2001 From: Michele Fabbri Date: Tue, 4 Oct 2022 16:18:40 +0100 Subject: [PATCH] remove move_passive.py from post cmd run for passiveCWI --- README.md | 4 ++-- iblrig/__init__.py | 2 +- release_notes.md | 4 ++++ setup_pybpod.py | 9 ++++++++- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 33c3fc609..f7eeafe25 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ conda activate iblrig conda install git --yes git clone https://github.com/int-brain-lab/iblrig C:\iblrig cd C:\iblrig -git checkout tags/7.0.0 +git checkout tags/7.0.1 pip install --editable . pip install pybpod-gui-api==1.8.3b1 pybpod-gui-plugin-alyx==1.1.3b1 pip uninstall ibllib --yes @@ -74,7 +74,7 @@ a custom task: This repository is adhering to the following conventions: * [semantic versioning](https://semver.org/) for consistent version numbering logic * [gitflow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow) for managing branches -* [Flake8](https://flake8.pycqa.org/) for style guide enforcement +* [flake8](https://flake8.pycqa.org/) for style guide enforcement ![](README_semver.png) ![](README_gitflow_workflow.png) diff --git a/iblrig/__init__.py b/iblrig/__init__.py index f6a4b463f..72839e09e 100644 --- a/iblrig/__init__.py +++ b/iblrig/__init__.py @@ -1,4 +1,4 @@ -__version__ = "7.0.0" +__version__ = "7.0.1" import logging import colorlog diff --git a/release_notes.md b/release_notes.md index 48649a4a7..ec4cf429c 100644 --- a/release_notes.md +++ b/release_notes.md @@ -1,5 +1,9 @@ # **Release notes** +## **Release Notes 7.0.1** + +- removal of the move_passive.py script from the post commands run during the passiveChoiceWorldIndependent task + ## **Release Notes 7.0.0** - python 3.8 support diff --git a/setup_pybpod.py b/setup_pybpod.py index f5cad7a5f..4a5f6759b 100644 --- a/setup_pybpod.py +++ b/setup_pybpod.py @@ -242,7 +242,7 @@ def config_task(iblproject_path, task_name: str): # XXX: THIS! task = create_task_cleanup_command(task) task = create_task_bpod_lights_command(task, 0, when="PRE") task = create_task_bpod_lights_command(task, 1, when="POST") - if task.name == "_iblrig_tasks_passiveChoiceWorld" or task.name == "_iblrig_tasks_passiveChoiceWorldIndependent": + if task.name == "_iblrig_tasks_passiveChoiceWorld": task = create_task_cleanup_command(task) task = create_task_poop_command(task, when="POST") task = create_task_bonsai_stop_command(task, port=7110) # stim @@ -250,6 +250,13 @@ def config_task(iblproject_path, task_name: str): # XXX: THIS! task = create_task_bpod_lights_command(task, 0, when="PRE") task = create_task_bpod_lights_command(task, 1, when="POST") task = create_task_move_passive_command(task, when="POST") + if task.name == "_iblrig_tasks_passiveChoiceWorldIndependent": + task = create_task_cleanup_command(task) + task = create_task_poop_command(task, when="POST") + task = create_task_bonsai_stop_command(task, port=7110) # stim + task = create_task_bonsai_stop_command(task, port=7112) # record_mic + task = create_task_bpod_lights_command(task, 0, when="PRE") + task = create_task_bpod_lights_command(task, 1, when="POST") p.save(iblproject_path) print(" Task configured")