Closed YEYUMIN closed 1 year ago
Hi, please could you do the following to confirm that you have set up your connection to ONE correctly
from one.api import ONE
one = ONE(base_url='https://openalyx.internationalbrainlab.org', \
password='international', silent=True)
print(one)
OK. I tried, and this is what happened.
One (online, https://openalyx.internationalbrainlab.org)
Thank you very much. I use another editor and it's work!
Hello, an error occurred when I downloaded the data. Can you help me.
code: sessions_rep_site = one.alyx.rest('sessions', 'list', dataset_types='spikes.times', tag='2022_Q2_IBL_et_al_RepeatedSite') session = sessions_rep_site[0]
ins_str_query = 'datasetstagsname,2022_Q2_IBL_et_al_RepeatedSite' sessions_rep_site = one.alyx.rest('insertions', 'list', django=ins_str_query)
eid = session['id'] insertion = sessions_rep_site[0] probe_label = insertion['name'] files = one.load_collection(eid, f'alf/{probe_label}/pykilosort', download_only=True)
error report
TypeError Traceback (most recent call last)