Skip to content

Commit

Permalink
Merge pull request #765 from int-brain-lab/hotfix/2.35.1
Browse files Browse the repository at this point in the history
Ensure no REST cache used when searching sessions in IBLRegistationCl…
  • Loading branch information
k1o0 authored May 7, 2024
2 parents 6e8ff9d + af626c5 commit f76a936
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion ibllib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 6 additions & 5 deletions ibllib/oneibl/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
19 changes: 11 additions & 8 deletions release_notes.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand Down

0 comments on commit f76a936

Please sign in to comment.