Skip to content

Commit

Permalink
remove move_passive.py from post cmd run for passiveCWI
Browse files Browse the repository at this point in the history
  • Loading branch information
Michele Fabbri committed Oct 4, 2022
1 parent ff1cec0 commit 8923138
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion iblrig/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "7.0.0"
__version__ = "7.0.1"
import logging

import colorlog
Expand Down
4 changes: 4 additions & 0 deletions release_notes.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
9 changes: 8 additions & 1 deletion setup_pybpod.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,14 +242,21 @@ 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
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")
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")
Expand Down

0 comments on commit 8923138

Please sign in to comment.