File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ def test_registration_session(self):
254254 for ds in datasets :
255255 self .assertTrue (ds ['hash' ] is not None )
256256 self .assertTrue (ds ['file_size' ] is not None )
257- self .assertTrue (ds ['version' ] == version . ibllib () )
257+ self .assertTrue (ds ['version' ] == ibllib . __version__ )
258258 # checks the procedure of the session
259259 ses_info = self .one .alyx .rest ('sessions' , 'read' , id = eid )
260260 self .assertTrue (ses_info ['procedures' ] == ['Ephys recording with acute probe(s)' ])
Original file line number Diff line number Diff line change 33from pathlib import Path
44from collections import OrderedDict
55
6- from ibllib .misc import version
76import ibllib .pipes .tasks
87from one .api import ONE
98from ibllib .tests import TEST_DB
3130
3231desired_datasets = ['spikes.times.npy' , 'spikes.amps.npy' , 'spikes.clusters.npy' ]
3332desired_versions = {'spikes.times.npy' : 'custom_job00' ,
34- 'spikes.amps.npy' : version . ibllib () ,
35- 'spikes.clusters.npy' : version . ibllib () }
33+ 'spikes.amps.npy' : ibllib . __version__ ,
34+ 'spikes.clusters.npy' : ibllib . __version__ }
3635desired_logs = 'Running on machine: testmachine'
3736desired_logs_rerun = {
3837 'Task00' : 1 ,
You can’t perform that action at this time.
0 commit comments