int-brain-lab / ibllib

IBL core shared libraries
MIT License
61 stars 36 forks source link

Syntax in the tutorial may be outdated #28

Closed shenshan closed 5 years ago

shenshan commented 5 years ago

Looks like the syntax used in the tutorial does not work.

eIDs, eInfo = ONE.search(lab='CortexLabUCL', subject='hercules', dataset_types=['spikes.times', 'spikes.clusters','headTracking.xyPos'])

One working version I tried was:

eIDs = ONE().search(lab='CortexLabUCL', subjects='hercules', dataset_types=['spikes.times', 'spikes.clusters','headTracking.xyPos'])
oliche commented 5 years ago

Fixed in 53e3e6ac88c69f0fb5d24858def44cb5d259f02e BTW, this is more a reference and does not refer to a particular implementation. The tutorial for the current IBL implementation is here: https://ibllib.readthedocs.io/en/latest/02b_tutorial_python.html

shenshan commented 5 years ago

Great. Thanks!