Skip to content

Commit 8a1c736

Browse files
committed
bugfix: populate IS_MOCK field upon registration
1 parent 4252a0c commit 8a1c736

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ibllib/oneibl/registration.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,8 @@ def _register_bool(fn, file_list):
385385
def _read_settings_json_compatibility_enforced(json_file):
386386
with open(json_file) as js:
387387
md = json.load(js)
388+
if 'IS_MOCK' not in md.keys():
389+
md['IS_MOCK'] = False
388390
if 'IBLRIG_VERSION_TAG' not in md.keys():
389391
md['IBLRIG_VERSION_TAG'] = '3.2.3'
390392
if not md['IBLRIG_VERSION_TAG']:

0 commit comments

Comments
 (0)