diff --git a/ibllib/__init__.py b/ibllib/__init__.py index 4643bfb1a..2218bebc7 100644 --- a/ibllib/__init__.py +++ b/ibllib/__init__.py @@ -2,7 +2,7 @@ import logging import warnings -__version__ = '2.35.0' +__version__ = '2.35.1' warnings.filterwarnings('always', category=DeprecationWarning, module='ibllib') # if this becomes a full-blown library we should let the logging configuration to the discretion of the dev diff --git a/ibllib/oneibl/registration.py b/ibllib/oneibl/registration.py index 9f4ef4791..456fa8c2e 100644 --- a/ibllib/oneibl/registration.py +++ b/ibllib/oneibl/registration.py @@ -10,7 +10,7 @@ from one.alf.files import get_session_path, folder_parts, get_alf_path from one.registration import RegistrationClient, get_dataset_type from one.remote.globus import get_local_endpoint_id, get_lab_from_endpoint_id -from one.webclient import AlyxClient +from one.webclient import AlyxClient, no_cache from one.converters import ConversionMixin import one.alf.exceptions as alferr from one.util import datasets2records, ensure_list @@ -219,10 +219,11 @@ def register_session(self, ses_path, file_list=True, projects=None, procedures=N subject = self.assert_exists(subject, 'subjects') # look for a session from the same subject, same number on the same day - session_id, session = self.one.search(subject=subject['nickname'], - date_range=date, - number=number, - details=True, query_type='remote') + with no_cache(self.one.alyx): + session_id, session = self.one.search(subject=subject['nickname'], + date_range=date, + number=number, + details=True, query_type='remote') if collections is None: # No task data assert len(session) != 0, 'no session on Alyx and no tasks in experiment description' # Fetch the full session JSON and assert that some basic information is present. diff --git a/release_notes.md b/release_notes.md index 49fec5713..fb90ddb7e 100644 --- a/release_notes.md +++ b/release_notes.md @@ -1,19 +1,22 @@ ## Release Note 2.35.0 -## features +### features - Adding LightningPose task -## bugfixes +### bugfixes - SessionLoader can now handle trials that are not in the alf collection - Extraction of trials from pre-generated sequences supports iblrigv8 keys +#### 2.35.1 +- Ensure no REST cache used when searching sessions in IBLRegistationClient + ## Release Note 2.34.0 -## features +### features - Task assert_expected_input now take into account revisions - Camera qc and video motion now take into account dynamic pipeline folder -## bugfixes +### bugfixes - Typo in raw_ephys_data documentation - oneibl.register_datasets accounts for non existing sessions when checking protected dsets @@ -24,20 +27,20 @@ ## Release Note 2.33.0 -## features +### features - Datasets no longer registered by default if protected, need to force registration - Tasks now allows datasets to be registered before qc computation - Histology channel upload now reads in channel map from data when available -## bugfixes +### bugfixes - PostDLC tasks looks in alf folder for lick datasets ## Release Notes 2.32 -## features +### features - SDSC patcher automatically support revisions -## other +### other - Add extra key to alignment qc with manual resolution for channel upload #### 2.32.3