Skip to content

Commit 8ebcc03

Browse files
committed
release notes and one requirements
1 parent c9224bd commit 8ebcc03

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

ibllib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.9.1"
1+
__version__ = "2.10.0"
22
import warnings
33

44
from ibllib.misc import logger_config

ibllib/oneibl/data_handlers.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,15 @@ def __init__(self, session_path, signatures, one=None):
118118
:param signature: input and output file signatures
119119
:param one: ONE instance
120120
"""
121-
from one.remote.globus import Globus, get_lab_from_endpoint_id # noqa
121+
from one.globus import Globus, get_lab_from_endpoint_id # noqa
122122
super().__init__(session_path, signatures, one=one)
123123
self.globus = Globus(client_name='server')
124124

125125
# on local servers set up the local root path manually as some have different globus config paths
126126
self.globus.endpoints['local']['root_path'] = '/mnt/s0/Data/Subjects'
127127

128128
# Find the lab
129-
labs = get_lab_from_endpoint_id(alyx=self.one.alyx)
129+
labs = get_lab_from_endpoint_id(one=self.one)
130130

131131
if len(labs) == 2:
132132
# for flofer lab
@@ -137,9 +137,9 @@ def __init__(self, session_path, signatures, one=None):
137137

138138
# For cortex lab we need to get the endpoint from the ibl alyx
139139
if self.lab == 'cortexlab':
140-
self.globus.add_endpoint(f'flatiron_{self.lab}', alyx=ONE(base_url='https://alyx.internationalbrainlab.org').alyx)
140+
self.globus.add_endpoint(f'flatiron_{self.lab}', one=ONE(base_url='https://alyx.internationalbrainlab.org'))
141141
else:
142-
self.globus.add_endpoint(f'flatiron_{self.lab}', alyx=self.one.alyx)
142+
self.globus.add_endpoint(f'flatiron_{self.lab}')
143143

144144
def setUp(self):
145145
"""
@@ -250,7 +250,7 @@ def __init__(self, task, session_path, signature, one=None):
250250
:param signature: input and output file signatures
251251
:param one: ONE instance
252252
"""
253-
from one.remote.globus import Globus # noqa
253+
from one.globus import Globus # noqa
254254
super().__init__(session_path, signature, one=one)
255255
self.task = task
256256
self.aws = AWS(one=self.one)

release_notes.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
## To be added to next release
1+
## Release Note 2.10
2+
3+
## Release Note 2.10.0 2022-02-11
24
- Fix in EphysDLC task to not return multiple copies of outputs
35
- Loading examples for different IBL data types
46
- Fix for probe syncing when Nidq and probe pulses don't match
5-
- Use one.remote.globus module for datahandler, account for new ONE tables
7+
- Account for new ONE tables in ond datahandler
68
- Add bad channels plots into RawEphysQc task
79

810
## Release Note 2.9

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ scipy>=1.3.0
2222
seaborn>=0.9.0
2323
tqdm>=4.32.1
2424
iblutil
25-
ONE-api>=1.8.0
25+
ONE-api>=1.8.1

0 commit comments

Comments
 (0)