Skip to content

Commit 3584187

Browse files
committed
don't overwrite all settings if iblrig on untagged version
1 parent 359b7a9 commit 3584187

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

ibllib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.13.5"
1+
__version__ = "2.13.6"
22
import warnings
33

44
from ibllib.misc import logger_config

ibllib/io/extractors/biased_trials.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,12 @@ def extract_all(session_path, save=False, bpod_trials=False, settings=False, ext
157157
bpod_trials = raw.load_data(session_path)
158158
if not settings:
159159
settings = raw.load_settings(session_path)
160-
if settings is None or settings['IBLRIG_VERSION_TAG'] == '':
160+
if settings is None:
161161
settings = {'IBLRIG_VERSION_TAG': '100.0.0'}
162162

163+
if settings['IBLRIG_VERSION_TAG'] == '':
164+
settings['IBLRIG_VERSION_TAG'] = '100.0.0'
165+
163166
base = [GoCueTriggerTimes]
164167
# Version check
165168
if parse_version(settings['IBLRIG_VERSION_TAG']) >= parse_version('5.0.0'):

release_notes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Release Notes 2.13
2-
## Release Notes 2.13.4 2022-07-27
2+
## Release Notes 2.13.6 2022-08-02
3+
- Hotfix: don't overwrite full settings if iblrig on untagged version
4+
5+
## Release Notes 2.13.5 2022-07-27
36
- Hotfix: pseudo session biased generation contrast distribution
47

58
## Release Notes 2.13.4 2022-07-22

0 commit comments

Comments
 (0)