Skip to content

Commit

Permalink
Merge pull request #83 from int-brain-lab/hotfix/1.21.1
Browse files Browse the repository at this point in the history
Hotfix/1.21.1
  • Loading branch information
k1o0 authored Mar 2, 2023
2 parents 0a3ace4 + b935bec commit c46b6dc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 42 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog
## [Latest](https://github.com/int-brain-lab/ONE/commits/main) [1.21.0]
## [Latest](https://github.com/int-brain-lab/ONE/commits/main) [1.21.1]

### Modified

- HOTFIX: allow base_url kwarg in ONE.setup

## [1.21.0]

### Added

Expand Down
41 changes: 1 addition & 40 deletions docs/notebooks/one_search/one_search.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -313,53 +313,14 @@
"outputs": [],
"source": [
"one.search_terms('remote', 'insertions')\n",
"pids = one.search_insertions(atlas_acronym=['STR', 'CA3'], query_type='remote')"
"pids = one.search_insertions(atlas_acronym=['STR', 'CA3'], query_type='remote')\n"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
}
},
{
"cell_type": "code",
"execution_count": null,
"outputs": [],
"source": [
"one.search_terms('remote')\n",
"eids = one.search(performance_gte=70, query_type='remote')"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
}
},
{
"cell_type": "code",
"execution_count": null,
"outputs": [],
"source": [],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%"
}
}
},
{
"cell_type": "code",
"execution_count": null,
"outputs": [],
"source": [],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%"
}
}
}
],
"metadata": {
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__ = '1.21.0'
__version__ = '1.21.1'
1 change: 1 addition & 0 deletions one/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2445,6 +2445,7 @@ def _setup(**kwargs):
An updated cache map.
"""
ONE.cache_clear()
kwargs['client'] = kwargs.pop('base_url', None)
return one.params.setup(**kwargs)


Expand Down

0 comments on commit c46b6dc

Please sign in to comment.