Skip to content

Commit

Permalink
Merge pull request #150 from int-brain-lab/v2.11.0
Browse files Browse the repository at this point in the history
v2.11.0
  • Loading branch information
k1o0 authored Nov 1, 2024
2 parents b6016c9 + 1ea8f3a commit d2f5b2c
Show file tree
Hide file tree
Showing 13 changed files with 559 additions and 529 deletions.
27 changes: 17 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog
## [Latest](https://github.com/int-brain-lab/ONE/commits/main) [2.10.1]
## [Latest](https://github.com/int-brain-lab/ONE/commits/main) [2.11.0]
This version deprecates one.alf.files in preperation for replacing with one.alf.path in version 3.

### Modified

- one.alf.files has been deprecated and moved to one.alf.path

## [2.10.1]

### Modified

Expand All @@ -9,7 +16,7 @@
- HOTFIX: include Subject/lab part in destination path when downloading from S3

## [2.10.0]
This version improves behaviour of loading revisions and loading datasets from list_datasets output.
This version improves behaviour of loading revisions and loading datasets from list_datasets output.

### Modified

Expand Down Expand Up @@ -42,7 +49,7 @@ This version improves behaviour of loading revisions and loading datasets from l
## [2.9.0]
This version adds a couple of new ALF functions.

### Added
### Added

- one.alf.io.find_variants allows one to find similar datasets on disk, such as revisions
- one.alf.files.without_revision returns a file path without the revision folder
Expand All @@ -64,7 +71,7 @@ This version of ONE adds support for loading .npz files.

- one.alf.io.load_file_content loads npz files and returns only array if single compressed array with default name of 'arr_0'.
- log warning when instantiating RegistrationClient with AlyxClient REST cache active
- bugfix in load_collection when one or more files missing
- bugfix in load_collection when one or more files missing

## [2.7.0]
This version of ONE adds support for Alyx 2.0.0 and pandas 3.0.0 with dataset QC filters. This version no longer supports 'data' search filter.
Expand Down Expand Up @@ -238,7 +245,7 @@ This version of ONE adds support for Alyx 2.0.0 and pandas 3.0.0 with dataset QC

### Modified

- HOTFIX: AWS S3 resource returned unsigned if 'public' in bucket name and no credentials on Alyx
- HOTFIX: AWS S3 resource returned unsigned if 'public' in bucket name and no credentials on Alyx

## [1.21.2]

Expand Down Expand Up @@ -320,7 +327,7 @@ This version of ONE adds support for Alyx 2.0.0 and pandas 3.0.0 with dataset QC

### Added

- registration client checks for protected datasets and moves them to new revision when registering files
- registration client checks for protected datasets and moves them to new revision when registering files

### Removed

Expand Down Expand Up @@ -380,7 +387,7 @@ This version of ONE adds support for Alyx 2.0.0 and pandas 3.0.0 with dataset QC
- bugfix: username now passed to parameter setup routine
- in silent mode if token invalid the user is logged out to remove old token from param file
- root_dir now optional input for session_record2path
- do not check for recent cache upon instantiation in remote mode
- do not check for recent cache upon instantiation in remote mode

## [1.13.0]

Expand Down Expand Up @@ -480,7 +487,7 @@ This version of ONE adds support for Alyx 2.0.0 and pandas 3.0.0 with dataset QC
### Modified

- HOTFIX: OneAlyx._download_datasets deals gracefully with empty datasets frame
- removed try-assert-catch logic from One._download_datasets to improve error stack
- removed try-assert-catch logic from One._download_datasets to improve error stack

## [1.8.0]

Expand Down Expand Up @@ -602,7 +609,7 @@ This version of ONE adds support for Alyx 2.0.0 and pandas 3.0.0 with dataset QC
- runtime warning when remote list count changes

### Added
- alf.io function to return valid session paths within a directory
- alf.io function to return valid session paths within a directory

## [1.2.1]

Expand Down Expand Up @@ -785,7 +792,7 @@ This version of ONE adds support for Alyx 2.0.0 and pandas 3.0.0 with dataset QC
### Removed

- removed load method

### Modified

- support for multiple configured databases in params
Expand Down
2 changes: 1 addition & 1 deletion one/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""The Open Neurophysiology Environment (ONE) API."""
__version__ = '2.10.1'
__version__ = '2.11.0'
2 changes: 1 addition & 1 deletion one/alf/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from iblutil.io.hashfile import md5

from one.alf.io import iter_sessions, iter_datasets
from one.alf.files import session_path_parts, get_alf_path
from one.alf.path import session_path_parts, get_alf_path
from one.converters import session_record2path
from one.util import QC_TYPE, patch_cache

Expand Down
Loading

0 comments on commit d2f5b2c

Please sign in to comment.