ONE-api 3.2.0__py3-none-any.whl → 3.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- one/__init__.py +1 -1
- one/alf/path.py +4 -3
- one/api.py +78 -27
- one/remote/globus.py +5 -5
- one/tests/fixtures/rest_responses/f530d6022f61cdc9e38cc66beb3cb71f3003c9a1 +1 -1
- one/webclient.py +4 -3
- {one_api-3.2.0.dist-info → one_api-3.3.0.dist-info}/METADATA +1 -1
- {one_api-3.2.0.dist-info → one_api-3.3.0.dist-info}/RECORD +11 -11
- {one_api-3.2.0.dist-info → one_api-3.3.0.dist-info}/WHEEL +0 -0
- {one_api-3.2.0.dist-info → one_api-3.3.0.dist-info}/licenses/LICENSE +0 -0
- {one_api-3.2.0.dist-info → one_api-3.3.0.dist-info}/top_level.txt +0 -0
one/__init__.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""The Open Neurophysiology Environment (ONE) API."""
|
|
2
|
-
__version__ = '3.
|
|
2
|
+
__version__ = '3.3.0'
|
one/alf/path.py
CHANGED
|
@@ -27,6 +27,7 @@ ALFPath properties return empty str instead of None if ALF part isn't present..
|
|
|
27
27
|
"""
|
|
28
28
|
import os
|
|
29
29
|
import pathlib
|
|
30
|
+
from functools import cached_property
|
|
30
31
|
from collections import OrderedDict
|
|
31
32
|
from datetime import datetime
|
|
32
33
|
from typing import Union, Optional, Iterable
|
|
@@ -844,17 +845,17 @@ class PureALFPath(pathlib.PurePath): # py3.12 supports direct subclassing
|
|
|
844
845
|
"""
|
|
845
846
|
return filename_parts(self.name, assert_valid=False, as_dict=as_dict)
|
|
846
847
|
|
|
847
|
-
@
|
|
848
|
+
@cached_property
|
|
848
849
|
def dataset_name_parts(self):
|
|
849
850
|
"""tuple of str: the dataset name parts, with empty strings for missing parts."""
|
|
850
851
|
return tuple(p or '' for p in self.parse_alf_name(as_dict=False))
|
|
851
852
|
|
|
852
|
-
@
|
|
853
|
+
@cached_property
|
|
853
854
|
def session_parts(self):
|
|
854
855
|
"""tuple of str: the session path parts, with empty strings for missing parts."""
|
|
855
856
|
return tuple(p or '' for p in session_path_parts(self, assert_valid=False))
|
|
856
857
|
|
|
857
|
-
@
|
|
858
|
+
@cached_property
|
|
858
859
|
def alf_parts(self):
|
|
859
860
|
"""tuple of str: the full ALF path parts, with empty strings for missing parts."""
|
|
860
861
|
return tuple(p or '' for p in self.parse_alf_path(as_dict=False))
|
one/api.py
CHANGED
|
@@ -6,6 +6,7 @@ import logging
|
|
|
6
6
|
from weakref import WeakMethod
|
|
7
7
|
from datetime import datetime, timedelta
|
|
8
8
|
from functools import lru_cache, partial
|
|
9
|
+
from itertools import islice
|
|
9
10
|
from inspect import unwrap
|
|
10
11
|
from pathlib import Path, PurePosixPath
|
|
11
12
|
from typing import Any, Union, Optional, List
|
|
@@ -28,7 +29,7 @@ import one.webclient as wc
|
|
|
28
29
|
import one.alf.io as alfio
|
|
29
30
|
import one.alf.path as alfiles
|
|
30
31
|
import one.alf.exceptions as alferr
|
|
31
|
-
from one.alf.path import ALFPath
|
|
32
|
+
from one.alf.path import ALFPath, ensure_alf_path
|
|
32
33
|
from .alf.cache import (
|
|
33
34
|
make_parquet_db, load_tables, remove_table_files, merge_tables,
|
|
34
35
|
default_cache, cast_index_object)
|
|
@@ -2020,9 +2021,26 @@ class OneAlyx(One):
|
|
|
2020
2021
|
|
|
2021
2022
|
"""
|
|
2022
2023
|
query_type = query_type or self.mode
|
|
2023
|
-
if query_type == 'local' and 'insertions' not in self._cache.keys():
|
|
2024
|
-
|
|
2025
|
-
|
|
2024
|
+
if query_type == 'local': # and 'insertions' not in self._cache.keys():
|
|
2025
|
+
if 'insertions' not in self._cache.keys():
|
|
2026
|
+
raise NotImplementedError('Converting probe IDs requires remote connection')
|
|
2027
|
+
else:
|
|
2028
|
+
# If local, use the cache table
|
|
2029
|
+
pid = UUID(pid) if isinstance(pid, str) else pid
|
|
2030
|
+
try:
|
|
2031
|
+
rec = self._cache['insertions'].loc[pd.IndexSlice[:, pid], 'name']
|
|
2032
|
+
(eid, _), name = next(rec.items())
|
|
2033
|
+
return eid, name
|
|
2034
|
+
except KeyError:
|
|
2035
|
+
return None, None
|
|
2036
|
+
try:
|
|
2037
|
+
rec = self.alyx.rest('insertions', 'read', id=pid)
|
|
2038
|
+
except requests.exceptions.HTTPError as ex:
|
|
2039
|
+
if ex.response.status_code == 404:
|
|
2040
|
+
_logger.error(f'Probe {pid} not found in Alyx')
|
|
2041
|
+
return None, None
|
|
2042
|
+
raise ex
|
|
2043
|
+
self._update_insertions_table([rec])
|
|
2026
2044
|
return UUID(rec['session']), rec['name']
|
|
2027
2045
|
|
|
2028
2046
|
def eid2pid(self, eid, query_type=None, details=False, **kwargs) -> (UUID, str, list):
|
|
@@ -2063,15 +2081,33 @@ class OneAlyx(One):
|
|
|
2063
2081
|
"""
|
|
2064
2082
|
query_type = query_type or self.mode
|
|
2065
2083
|
if query_type == 'local' and 'insertions' not in self._cache.keys():
|
|
2066
|
-
raise NotImplementedError('Converting probe
|
|
2084
|
+
raise NotImplementedError('Converting to probe ID requires remote connection')
|
|
2067
2085
|
eid = self.to_eid(eid) # Ensure we have a UUID str
|
|
2068
2086
|
if not eid:
|
|
2069
2087
|
return (None,) * (3 if details else 2)
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2088
|
+
if query_type == 'local':
|
|
2089
|
+
try: # If local, use the cache table
|
|
2090
|
+
rec = self._cache['insertions'].loc[(eid,), :]
|
|
2091
|
+
pids, names = map(list, zip(*rec.sort_values('name')['name'].items()))
|
|
2092
|
+
if details:
|
|
2093
|
+
rec['session'] = str(eid)
|
|
2094
|
+
session_info = self._cache['sessions'].loc[eid].to_dict()
|
|
2095
|
+
session_info['date'] = session_info['date'].isoformat()
|
|
2096
|
+
session_info['projects'] = session_info['projects'].split(',')
|
|
2097
|
+
rec['session_info'] = session_info
|
|
2098
|
+
# Convert to list of dicts after casting UUIDs to strings
|
|
2099
|
+
recs = cast_index_object(rec, str).reset_index().to_dict('records')
|
|
2100
|
+
return pids, names, recs
|
|
2101
|
+
return pids, names
|
|
2102
|
+
except KeyError:
|
|
2103
|
+
return (None,) * (3 if details else 2)
|
|
2104
|
+
|
|
2105
|
+
if recs := self.alyx.rest('insertions', 'list', session=eid, **kwargs):
|
|
2106
|
+
self._update_insertions_table(recs)
|
|
2107
|
+
pids = [UUID(x['id']) for x in recs] or None
|
|
2108
|
+
labels = [x['name'] for x in recs] or None
|
|
2073
2109
|
if details:
|
|
2074
|
-
return pids, labels, recs
|
|
2110
|
+
return pids, labels, recs or None
|
|
2075
2111
|
else:
|
|
2076
2112
|
return pids, labels
|
|
2077
2113
|
|
|
@@ -2757,10 +2793,11 @@ class OneAlyx(One):
|
|
|
2757
2793
|
return [unwrapped(self, e, query_type='remote') for e in eid]
|
|
2758
2794
|
|
|
2759
2795
|
# if it wasn't successful, query Alyx
|
|
2760
|
-
ses = self.alyx.rest('sessions', 'list',
|
|
2796
|
+
ses = self.alyx.rest('sessions', 'list', id=eid)
|
|
2761
2797
|
if len(ses) == 0:
|
|
2762
2798
|
return None
|
|
2763
2799
|
else:
|
|
2800
|
+
self._update_sessions_table(ses)
|
|
2764
2801
|
return ALFPath(self.cache_dir).joinpath(
|
|
2765
2802
|
ses[0]['lab'], 'Subjects', ses[0]['subject'], ses[0]['start_time'][:10],
|
|
2766
2803
|
str(ses[0]['number']).zfill(3))
|
|
@@ -2788,7 +2825,7 @@ class OneAlyx(One):
|
|
|
2788
2825
|
eid_list.append(self.path2eid(p))
|
|
2789
2826
|
return eid_list
|
|
2790
2827
|
# else ensure the path ends with mouse, date, number
|
|
2791
|
-
path_obj =
|
|
2828
|
+
path_obj = ensure_alf_path(path_obj)
|
|
2792
2829
|
|
|
2793
2830
|
# try the cached info to possibly avoid hitting database
|
|
2794
2831
|
mode = query_type or self.mode
|
|
@@ -2969,26 +3006,40 @@ class OneAlyx(One):
|
|
|
2969
3006
|
[Errno 404] Remote session not found on Alyx.
|
|
2970
3007
|
|
|
2971
3008
|
"""
|
|
3009
|
+
def process(d, root=self.cache_dir):
|
|
3010
|
+
"""Returns dict in similar format to One.search output."""
|
|
3011
|
+
det_fields = ['subject', 'start_time', 'number', 'lab', 'projects',
|
|
3012
|
+
'url', 'task_protocol', 'local_path']
|
|
3013
|
+
out = {k: v for k, v in d.items() if k in det_fields}
|
|
3014
|
+
out['projects'] = ','.join(out['projects'])
|
|
3015
|
+
out['date'] = datetime.fromisoformat(out['start_time']).date()
|
|
3016
|
+
out['local_path'] = session_record2path(out, root)
|
|
3017
|
+
return out
|
|
3018
|
+
|
|
2972
3019
|
if (query_type or self.mode) == 'local':
|
|
2973
3020
|
return super().get_details(eid, full=full)
|
|
2974
3021
|
# If eid is a list of eIDs recurse through list and return the results
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
for p in eid:
|
|
2978
|
-
details_list.append(self.get_details(p, full=full))
|
|
2979
|
-
return details_list
|
|
2980
|
-
# load all details
|
|
2981
|
-
dets = self.alyx.rest('sessions', 'read', eid)
|
|
3022
|
+
eids = ensure_list(eid)
|
|
3023
|
+
details = dict.fromkeys(map(str, eids), None) # create map to skip duplicates
|
|
2982
3024
|
if full:
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
3025
|
+
for e in details:
|
|
3026
|
+
# check for duplicates
|
|
3027
|
+
details[e] = self.alyx.rest('sessions', 'read', id=e)
|
|
3028
|
+
session, datasets = ses2records(details[e])
|
|
3029
|
+
merge_tables(
|
|
3030
|
+
self._cache, sessions=session, datasets=datasets.copy(),
|
|
3031
|
+
origin=self.alyx.base_url)
|
|
3032
|
+
details = [details[str(e)].copy() for e in eids]
|
|
3033
|
+
else:
|
|
3034
|
+
# batch to ensure the list is not too long for the GET request
|
|
3035
|
+
iterator = iter(details.keys())
|
|
3036
|
+
while batch := tuple(islice(iterator, 50)):
|
|
3037
|
+
ret = self.alyx.rest('sessions', 'list', django=f'pk__in,{batch}')
|
|
3038
|
+
details.update({d['id']: d for d in ret})
|
|
3039
|
+
self._update_sessions_table(details.values())
|
|
3040
|
+
details = [process(details[str(e)]) for e in eids]
|
|
3041
|
+
# Return either a single dict or a list of dicts depending on the input type
|
|
3042
|
+
return (details if isinstance(eid, (list, util.LazyId)) else details[0])
|
|
2992
3043
|
|
|
2993
3044
|
|
|
2994
3045
|
def _setup(**kwargs):
|
one/remote/globus.py
CHANGED
|
@@ -642,7 +642,7 @@ class Globus(DownloadClient):
|
|
|
642
642
|
recursive : bool
|
|
643
643
|
If true, transfer the contents of nested directories (NB: all data_paths must be
|
|
644
644
|
directories).
|
|
645
|
-
|
|
645
|
+
kwargs
|
|
646
646
|
See Globus.transfer_data.
|
|
647
647
|
|
|
648
648
|
Returns
|
|
@@ -715,7 +715,7 @@ class Globus(DownloadClient):
|
|
|
715
715
|
----------
|
|
716
716
|
client_name : str
|
|
717
717
|
Parameter profile name to set up e.g. 'default', 'admin'.
|
|
718
|
-
|
|
718
|
+
kwargs
|
|
719
719
|
Optional Globus constructor arguments.
|
|
720
720
|
|
|
721
721
|
Returns
|
|
@@ -937,7 +937,7 @@ class Globus(DownloadClient):
|
|
|
937
937
|
recursive : bool
|
|
938
938
|
If true, transfer the contents of nested directories (NB: all data_paths must be
|
|
939
939
|
directories).
|
|
940
|
-
|
|
940
|
+
kwargs
|
|
941
941
|
See globus_sdk.TransferData.
|
|
942
942
|
|
|
943
943
|
Returns
|
|
@@ -996,7 +996,7 @@ class Globus(DownloadClient):
|
|
|
996
996
|
recursive : bool
|
|
997
997
|
If true, delete the contents of nested directories (NB: all data_paths must be
|
|
998
998
|
directories).
|
|
999
|
-
|
|
999
|
+
kwargs
|
|
1000
1000
|
See globus_sdk.DeleteData.
|
|
1001
1001
|
|
|
1002
1002
|
Returns
|
|
@@ -1108,7 +1108,7 @@ class Globus(DownloadClient):
|
|
|
1108
1108
|
is a UUID, the path must be absolute.
|
|
1109
1109
|
timeout : int
|
|
1110
1110
|
Maximum time in seconds to wait for the task to complete.
|
|
1111
|
-
|
|
1111
|
+
kwargs
|
|
1112
1112
|
Optional arguments for globus_sdk.TransferData.
|
|
1113
1113
|
|
|
1114
1114
|
Returns
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"id": "b529f2d8-cdae-4d59-aba2-cbd1b5572e36", "session": "fc737f3c-2a57-4165-9763-905413e7e341", "model": "3B2", "session_info": {"subject": "KS055", "start_time": "2021-05-10T17:47:13.833000", "number": 1, "lab": "cortexlab", "id": "fc737f3c-2a57-4165-9763-905413e7e341", "task_protocol": "_iblrig_tasks_ephysChoiceWorld6.4.2"}, "datasets": [{"id": "00ca1432-216f-409b-987d-230febcbd2fb", "name": "_spikeglx_sync.polarities.probe00.npy", "dataset_type": "_spikeglx_sync.polarities", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_sync.polarities.probe00.00ca1432-216f-409b-987d-230febcbd2fb.npy", "url": "https://alyx.internationalbrainlab.org/datasets/00ca1432-216f-409b-987d-230febcbd2fb", "file_size": 103688, "hash": "97b306ac1ec7a2b6525bc48aaa22816f", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "013c8cfc-6f5e-4310-8251-e20a0553cca2", "name": "_iblqc_ephysSpectralDensityAP.freqs.npy", "dataset_type": "_iblqc_ephysSpectralDensity.freqs", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_iblqc_ephysSpectralDensityAP.freqs.013c8cfc-6f5e-4310-8251-e20a0553cca2.npy", "url": "https://alyx.internationalbrainlab.org/datasets/013c8cfc-6f5e-4310-8251-e20a0553cca2", "file_size": 2180, "hash": "bc51178bb8cc3ad418608d2918c7c78f", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "02bafcb8-9322-4eb8-a809-31f1f128d1e0", "name": "templates.waveformsChannels.npy", "dataset_type": "templates.waveformsChannels", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/templates.waveformsChannels.02bafcb8-9322-4eb8-a809-31f1f128d1e0.npy", "url": "https://alyx.internationalbrainlab.org/datasets/02bafcb8-9322-4eb8-a809-31f1f128d1e0", "file_size": 9472, "hash": "2db2a1e9662f017ecc15a252d53b51dd", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "14a88391-4607-4a3f-99f6-740d1fe5fec0", "name": "clusters.channels.npy", "dataset_type": "clusters.channels", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/clusters.channels.14a88391-4607-4a3f-99f6-740d1fe5fec0.npy", "url": "https://alyx.internationalbrainlab.org/datasets/14a88391-4607-4a3f-99f6-740d1fe5fec0", "file_size": 712, "hash": "73b85640a56e8ce952348fc45bc4c9f9", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "1ac5d125-75f0-4bf6-90f0-385895dff860", "name": "_spikeglx_sync.channels.probe00.npy", "dataset_type": "_spikeglx_sync.channels", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_sync.channels.probe00.1ac5d125-75f0-4bf6-90f0-385895dff860.npy", "url": "https://alyx.internationalbrainlab.org/datasets/1ac5d125-75f0-4bf6-90f0-385895dff860", "file_size": 103688, "hash": "36ed90b857cc0f05a4a20d5cf6e21219", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "1b3a11b0-7bc3-4664-aeb8-1f4f7068619f", "name": "_spikeglx_ephysData_g0_t0.imec0.sync.npy", "dataset_type": "ephysData.raw.sync", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_ephysData_g0_t0.imec0.sync.1b3a11b0-7bc3-4664-aeb8-1f4f7068619f.npy", "url": "https://alyx.internationalbrainlab.org/datasets/1b3a11b0-7bc3-4664-aeb8-1f4f7068619f", "file_size": 5328, "hash": "36d4b63d2f3ef07b9974cc37c35427ea", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "1f8646d5-e7d2-4ebb-9ade-6640d63d6fbe", "name": "_spikeglx_ephysData_g0_t0.imec0.lf.meta", "dataset_type": "ephysData.raw.meta", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_ephysData_g0_t0.imec0.lf.1f8646d5-e7d2-4ebb-9ade-6640d63d6fbe.meta", "url": "https://alyx.internationalbrainlab.org/datasets/1f8646d5-e7d2-4ebb-9ade-6640d63d6fbe", "file_size": 13977, "hash": "cf17a71416c130336c7fb5c8c32f8229", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "28701221-3afb-4927-87f3-d7bf091c2e3b", "name": "_spikeglx_ephysData_g0_t0.imec0.ap.meta", "dataset_type": "ephysData.raw.meta", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_ephysData_g0_t0.imec0.ap.28701221-3afb-4927-87f3-d7bf091c2e3b.meta", "url": "https://alyx.internationalbrainlab.org/datasets/28701221-3afb-4927-87f3-d7bf091c2e3b", "file_size": 17790, "hash": "06b2e74a1845a546a9fdf93ee451a430", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "358c5705-c7c0-4c1d-9765-054a12bebff5", "name": "clusters.peakToTrough.npy", "dataset_type": "clusters.peakToTrough", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/clusters.peakToTrough.358c5705-c7c0-4c1d-9765-054a12bebff5.npy", "url": "https://alyx.internationalbrainlab.org/datasets/358c5705-c7c0-4c1d-9765-054a12bebff5", "file_size": 712, "hash": "4b0af8205106f9908712be8dd09b6bb9", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "3d7ec876-2c18-4291-89d9-50b27e5cd7a9", "name": "_spikeglx_ephysData_g0_t0.imec0.wiring.json", "dataset_type": "ephysData.raw.wiring", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_ephysData_g0_t0.imec0.wiring.3d7ec876-2c18-4291-89d9-50b27e5cd7a9.json", "url": "https://alyx.internationalbrainlab.org/datasets/3d7ec876-2c18-4291-89d9-50b27e5cd7a9", "file_size": 95, "hash": "10e76721a218051fb13db1e38c576904", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "3d986a6b-7894-485e-9e98-70c378ae099f", "name": "templates.amps.npy", "dataset_type": "templates.amps", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/templates.amps.3d986a6b-7894-485e-9e98-70c378ae099f.npy", "url": "https://alyx.internationalbrainlab.org/datasets/3d986a6b-7894-485e-9e98-70c378ae099f", "file_size": 712, "hash": "0367214c967f0585ab5211b415d68dce", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "40681e35-2214-4fea-9052-c9d49fbafb53", "name": "_iblqc_ephysSpectralDensityLF.power.npy", "dataset_type": "_iblqc_ephysSpectralDensity.power", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_iblqc_ephysSpectralDensityLF.power.40681e35-2214-4fea-9052-c9d49fbafb53.npy", "url": "https://alyx.internationalbrainlab.org/datasets/40681e35-2214-4fea-9052-c9d49fbafb53", "file_size": 790148, "hash": "b40fad59af7a4746eec7d2f5221e6bec", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "4f5aed90-9225-43bb-88c7-922b497bf2dd", "name": "spikes.depths.npy", "dataset_type": "spikes.depths", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/spikes.depths.4f5aed90-9225-43bb-88c7-922b497bf2dd.npy", "url": "https://alyx.internationalbrainlab.org/datasets/4f5aed90-9225-43bb-88c7-922b497bf2dd", "file_size": 40882112, "hash": "21281e17e501dbe95d46a8a1d32b225d", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "552c984d-776b-4f88-88a0-33e4a678124a", "name": "spikes.times.npy", "dataset_type": "spikes.times", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/spikes.times.552c984d-776b-4f88-88a0-33e4a678124a.npy", "url": "https://alyx.internationalbrainlab.org/datasets/552c984d-776b-4f88-88a0-33e4a678124a", "file_size": 40882112, "hash": "8789128af75e26de920caad65faf9cee", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "65330700-084a-4d88-87c7-e39245120349", "name": "_iblqc_ephysTimeRmsAP.rms.npy", "dataset_type": "_iblqc_ephysTimeRms.rms", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_iblqc_ephysTimeRmsAP.rms.65330700-084a-4d88-87c7-e39245120349.npy", "url": "https://alyx.internationalbrainlab.org/datasets/65330700-084a-4d88-87c7-e39245120349", "file_size": 2280868, "hash": "2264b0e45bd7c16080688170853c7b82", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "7271241b-17b6-4b17-8e6d-35adf7535cd9", "name": "channels.rawInd.npy", "dataset_type": "channels.rawInd", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/channels.rawInd.7271241b-17b6-4b17-8e6d-35adf7535cd9.npy", "url": "https://alyx.internationalbrainlab.org/datasets/7271241b-17b6-4b17-8e6d-35adf7535cd9", "file_size": 3120, "hash": "643371c81724378d34e04a60ef8769f4", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "72eb93a6-780d-45ad-8823-fb41050537c2", "name": "_spikeglx_ephysData_g0_t0.imec0.lf.ch", "dataset_type": "ephysData.raw.ch", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_ephysData_g0_t0.imec0.lf.72eb93a6-780d-45ad-8823-fb41050537c2.ch", "url": "https://alyx.internationalbrainlab.org/datasets/72eb93a6-780d-45ad-8823-fb41050537c2", "file_size": 188356, "hash": "f8cda3ecf7cfe67c9a02ccceef5636da", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "7a811f67-d995-4c6b-9f5e-1c5a0589bff7", "name": "clusters.depths.npy", "dataset_type": "clusters.depths", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/clusters.depths.7a811f67-d995-4c6b-9f5e-1c5a0589bff7.npy", "url": "https://alyx.internationalbrainlab.org/datasets/7a811f67-d995-4c6b-9f5e-1c5a0589bff7", "file_size": 712, "hash": "1d09675a38b0e157b324fb03da738339", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "9307ef91-413a-4e27-9bac-abe769b5509b", "name": "_iblqc_ephysTimeRmsLF.timestamps.npy", "dataset_type": "_iblqc_ephysTimeRms.timestamps", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_iblqc_ephysTimeRmsLF.timestamps.9307ef91-413a-4e27-9bac-abe769b5509b.npy", "url": "https://alyx.internationalbrainlab.org/datasets/9307ef91-413a-4e27-9bac-abe769b5509b", "file_size": 8028, "hash": "d7b59c5cb50d1b6e7f6df1f5972d213e", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "97025fa9-64cc-43dc-bc79-65b275ec77ca", "name": "spikes.samples.npy", "dataset_type": "spikes.samples", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/spikes.samples.97025fa9-64cc-43dc-bc79-65b275ec77ca.npy", "url": "https://alyx.internationalbrainlab.org/datasets/97025fa9-64cc-43dc-bc79-65b275ec77ca", "file_size": 40882112, "hash": "972ecf2e68ca3f2c57745489512defda", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "a424d1d2-3e55-458c-8fa7-0d485c80bf82", "name": "spikes.templates.npy", "dataset_type": "spikes.templates", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/spikes.templates.a424d1d2-3e55-458c-8fa7-0d485c80bf82.npy", "url": "https://alyx.internationalbrainlab.org/datasets/a424d1d2-3e55-458c-8fa7-0d485c80bf82", "file_size": 20441120, "hash": "643d61e8090274082a0a50876bb3adad", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "aa39c9c2-c54c-45b4-b947-a2aa51d56ea4", "name": "_kilosort_whitening.matrix.npy", "dataset_type": "kilosort.whitening_matrix", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/_kilosort_whitening.matrix.aa39c9c2-c54c-45b4-b947-a2aa51d56ea4.npy", "url": "https://alyx.internationalbrainlab.org/datasets/aa39c9c2-c54c-45b4-b947-a2aa51d56ea4", "file_size": 1119088, "hash": "dd458f483a8670f213743eb93fc9e4b6", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "b2810060-f2ae-4a2a-8e21-28607154fc3e", "name": "templates.waveforms.npy", "dataset_type": "templates.waveforms", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/templates.waveforms.b2810060-f2ae-4a2a-8e21-28607154fc3e.npy", "url": "https://alyx.internationalbrainlab.org/datasets/b2810060-f2ae-4a2a-8e21-28607154fc3e", "file_size": 766336, "hash": "0429188c961e88cf85326f60dc24ddcf", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "b8e64a19-0365-4dd9-984b-6ee6571e393b", "name": "_spikeglx_ephysData_g0_t0.imec0.timestamps.npy", "dataset_type": "ephysData.raw.timestamps", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_ephysData_g0_t0.imec0.timestamps.b8e64a19-0365-4dd9-984b-6ee6571e393b.npy", "url": "https://alyx.internationalbrainlab.org/datasets/b8e64a19-0365-4dd9-984b-6ee6571e393b", "file_size": 5328, "hash": "ab93399429989d8b0a0aa10cd3bfb262", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "e5842ab7-275f-4f5b-aade-9a0ae422c310", "name": "_iblqc_ephysSpectralDensityAP.power.npy", "dataset_type": "_iblqc_ephysSpectralDensity.power", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_iblqc_ephysSpectralDensityAP.power.e5842ab7-275f-4f5b-aade-9a0ae422c310.npy", "url": "https://alyx.internationalbrainlab.org/datasets/e5842ab7-275f-4f5b-aade-9a0ae422c310", "file_size": 790148, "hash": "234fc991687e1c99b397233534abd781", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "ed1ebf92-ec8f-42b6-bb55-f231cacd339a", "name": "_phy_spikes_subset.waveforms.npy", "dataset_type": "_phy_spikes_subset.waveforms", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/_phy_spikes_subset.waveforms.ed1ebf92-ec8f-42b6-bb55-f231cacd339a.npy", "url": "https://alyx.internationalbrainlab.org/datasets/ed1ebf92-ec8f-42b6-bb55-f231cacd339a", "file_size": 287065728, "hash": "fa7140cac43c95b0428f4d3aca8164f8", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "eec3a0ec-eb77-4c5f-b7bb-93a0f4139b81", "name": "clusters.uuids.csv", "dataset_type": "clusters.uuids", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/clusters.uuids.eec3a0ec-eb77-4c5f-b7bb-93a0f4139b81.csv", "url": "https://alyx.internationalbrainlab.org/datasets/eec3a0ec-eb77-4c5f-b7bb-93a0f4139b81", "file_size": 2706, "hash": "22ff8b744bd9018f25f31c66f898b5c2", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "f539ca9a-c0f5-4d11-9bfb-48a9bef32f0c", "name": "clusters.waveformsChannels.npy", "dataset_type": "clusters.waveformsChannels", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/clusters.waveformsChannels.f539ca9a-c0f5-4d11-9bfb-48a9bef32f0c.npy", "url": "https://alyx.internationalbrainlab.org/datasets/f539ca9a-c0f5-4d11-9bfb-48a9bef32f0c", "file_size": 9472, "hash": "2db2a1e9662f017ecc15a252d53b51dd", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "2f3d6cd2-87b6-4fc4-a164-30e0640e0dd3", "name": "clusters.waveforms.npy", "dataset_type": "clusters.waveforms", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/clusters.waveforms.2f3d6cd2-87b6-4fc4-a164-30e0640e0dd3.npy", "url": "https://alyx.internationalbrainlab.org/datasets/2f3d6cd2-87b6-4fc4-a164-30e0640e0dd3", "file_size": 766336, "hash": "0429188c961e88cf85326f60dc24ddcf", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "404e6399-cc3a-401f-b224-3ac244fe4c33", "name": "_spikeglx_ephysData_g0_t0.imec0.ap.ch", "dataset_type": "ephysData.raw.ch", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_ephysData_g0_t0.imec0.ap.404e6399-cc3a-401f-b224-3ac244fe4c33.ch", "url": "https://alyx.internationalbrainlab.org/datasets/404e6399-cc3a-401f-b224-3ac244fe4c33", "file_size": 202508, "hash": "5225357c56146d5fdf41f54385719de8", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "46613958-87ad-4e3c-a52f-ae966ea5c78f", "name": "spikes.clusters.npy", "dataset_type": "spikes.clusters", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/spikes.clusters.46613958-87ad-4e3c-a52f-ae966ea5c78f.npy", "url": "https://alyx.internationalbrainlab.org/datasets/46613958-87ad-4e3c-a52f-ae966ea5c78f", "file_size": 20441120, "hash": "643d61e8090274082a0a50876bb3adad", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "61ac731e-b625-4acb-8c4e-c478f0ce34c2", "name": "_phy_spikes_subset.spikes.npy", "dataset_type": "_phy_spikes_subset.spikes", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/_phy_spikes_subset.spikes.61ac731e-b625-4acb-8c4e-c478f0ce34c2.npy", "url": "https://alyx.internationalbrainlab.org/datasets/61ac731e-b625-4acb-8c4e-c478f0ce34c2", "file_size": 109528, "hash": "4cbeec3977d644dbfb964f0a7b352566", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "79fec68a-081e-4412-8ead-cfc97342c615", "name": "_iblqc_ephysTimeRmsLF.rms.npy", "dataset_type": "_iblqc_ephysTimeRms.rms", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_iblqc_ephysTimeRmsLF.rms.79fec68a-081e-4412-8ead-cfc97342c615.npy", "url": "https://alyx.internationalbrainlab.org/datasets/79fec68a-081e-4412-8ead-cfc97342c615", "file_size": 3041628, "hash": "5926ad41de90fa3c82a80c8049f9c44f", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "87b238f7-c035-4337-9901-dabd7712e0d7", "name": "channels.localCoordinates.npy", "dataset_type": "channels.localCoordinates", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/channels.localCoordinates.87b238f7-c035-4337-9901-dabd7712e0d7.npy", "url": "https://alyx.internationalbrainlab.org/datasets/87b238f7-c035-4337-9901-dabd7712e0d7", "file_size": 6064, "hash": "bc74f49f33ec0f7545ebc03f0490bdf6", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "96b6a8b6-e0ed-402e-8c84-128ef714c555", "name": "spikes.amps.npy", "dataset_type": "spikes.amps", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/spikes.amps.96b6a8b6-e0ed-402e-8c84-128ef714c555.npy", "url": "https://alyx.internationalbrainlab.org/datasets/96b6a8b6-e0ed-402e-8c84-128ef714c555", "file_size": 40882112, "hash": "f9dc6c5648c90750a3fbc9cfa2a9e7da", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "a7736716-d438-45a5-99de-91582bd44312", "name": "_spikeglx_sync.times.probe00.npy", "dataset_type": "_spikeglx_sync.times", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_sync.times.probe00.a7736716-d438-45a5-99de-91582bd44312.npy", "url": "https://alyx.internationalbrainlab.org/datasets/a7736716-d438-45a5-99de-91582bd44312", "file_size": 103688, "hash": "f01602383f1b49516ca5f527831cdaf7", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "a991f6d2-160a-4a70-9e9c-3237119311d5", "name": "_phy_spikes_subset.channels.npy", "dataset_type": "_phy_spikes_subset.channels", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/_phy_spikes_subset.channels.a991f6d2-160a-4a70-9e9c-3237119311d5.npy", "url": "https://alyx.internationalbrainlab.org/datasets/a991f6d2-160a-4a70-9e9c-3237119311d5", "file_size": 1750528, "hash": "52a7d08d765c8c203b425537d045e56f", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "bf600ea7-8b58-4dc7-a49d-d752d18e46b2", "name": "clusters.amps.npy", "dataset_type": "clusters.amps", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/clusters.amps.bf600ea7-8b58-4dc7-a49d-d752d18e46b2.npy", "url": "https://alyx.internationalbrainlab.org/datasets/bf600ea7-8b58-4dc7-a49d-d752d18e46b2", "file_size": 712, "hash": "ff103a20f9c42dbea9a8f9c6110d7d65", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "c198723d-3174-428b-9559-8456c47ea4b5", "name": "_spikeglx_ephysData_g0_t0.imec0.ap.cbin", "dataset_type": "ephysData.raw.ap", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_ephysData_g0_t0.imec0.ap.c198723d-3174-428b-9559-8456c47ea4b5.cbin", "url": "https://alyx.internationalbrainlab.org/datasets/c198723d-3174-428b-9559-8456c47ea4b5", "file_size": 17283416064, "hash": "e44f7a26b879e04b9c4204a9b881683e", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "ca5b7d13-9e5f-4091-9be2-8af392188e49", "name": "_iblqc_ephysSpectralDensityLF.freqs.npy", "dataset_type": "_iblqc_ephysSpectralDensity.freqs", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_iblqc_ephysSpectralDensityLF.freqs.ca5b7d13-9e5f-4091-9be2-8af392188e49.npy", "url": "https://alyx.internationalbrainlab.org/datasets/ca5b7d13-9e5f-4091-9be2-8af392188e49", "file_size": 2180, "hash": "f3ffe62ed24d19c0979861b4308a9d00", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "e006237b-8879-4917-8677-00df2247cef9", "name": "_iblqc_ephysTimeRmsAP.timestamps.npy", "dataset_type": "_iblqc_ephysTimeRms.timestamps", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_iblqc_ephysTimeRmsAP.timestamps.e006237b-8879-4917-8677-00df2247cef9.npy", "url": "https://alyx.internationalbrainlab.org/datasets/e006237b-8879-4917-8677-00df2247cef9", "file_size": 6052, "hash": "0916111d7628659be0c2fc9b803d94bc", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}], "name": "probe00", "json": {"qc": "NOT_SET", "extended_qc": {}}, "serial": "18194814141", "auto_datetime": "2021-05-12T02:13:12.169076"}, "3000-05-13T17:40:28.145258"]
|
|
1
|
+
[{"id": "b529f2d8-cdae-4d59-aba2-cbd1b5572e36", "session": "fc737f3c-2a57-4165-9763-905413e7e341", "model": "3B2", "session_info": {"subject": "KS055", "start_time": "2021-05-10T17:47:13.833000", "number": 1, "lab": "cortexlab", "id": "fc737f3c-2a57-4165-9763-905413e7e341", "projects": ["ibl_neuropixel_brainwide_01"], "task_protocol": "_iblrig_tasks_ephysChoiceWorld6.4.2"}, "datasets": [{"id": "00ca1432-216f-409b-987d-230febcbd2fb", "name": "_spikeglx_sync.polarities.probe00.npy", "dataset_type": "_spikeglx_sync.polarities", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_sync.polarities.probe00.00ca1432-216f-409b-987d-230febcbd2fb.npy", "url": "https://alyx.internationalbrainlab.org/datasets/00ca1432-216f-409b-987d-230febcbd2fb", "file_size": 103688, "hash": "97b306ac1ec7a2b6525bc48aaa22816f", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "013c8cfc-6f5e-4310-8251-e20a0553cca2", "name": "_iblqc_ephysSpectralDensityAP.freqs.npy", "dataset_type": "_iblqc_ephysSpectralDensity.freqs", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_iblqc_ephysSpectralDensityAP.freqs.013c8cfc-6f5e-4310-8251-e20a0553cca2.npy", "url": "https://alyx.internationalbrainlab.org/datasets/013c8cfc-6f5e-4310-8251-e20a0553cca2", "file_size": 2180, "hash": "bc51178bb8cc3ad418608d2918c7c78f", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "02bafcb8-9322-4eb8-a809-31f1f128d1e0", "name": "templates.waveformsChannels.npy", "dataset_type": "templates.waveformsChannels", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/templates.waveformsChannels.02bafcb8-9322-4eb8-a809-31f1f128d1e0.npy", "url": "https://alyx.internationalbrainlab.org/datasets/02bafcb8-9322-4eb8-a809-31f1f128d1e0", "file_size": 9472, "hash": "2db2a1e9662f017ecc15a252d53b51dd", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "14a88391-4607-4a3f-99f6-740d1fe5fec0", "name": "clusters.channels.npy", "dataset_type": "clusters.channels", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/clusters.channels.14a88391-4607-4a3f-99f6-740d1fe5fec0.npy", "url": "https://alyx.internationalbrainlab.org/datasets/14a88391-4607-4a3f-99f6-740d1fe5fec0", "file_size": 712, "hash": "73b85640a56e8ce952348fc45bc4c9f9", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "1ac5d125-75f0-4bf6-90f0-385895dff860", "name": "_spikeglx_sync.channels.probe00.npy", "dataset_type": "_spikeglx_sync.channels", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_sync.channels.probe00.1ac5d125-75f0-4bf6-90f0-385895dff860.npy", "url": "https://alyx.internationalbrainlab.org/datasets/1ac5d125-75f0-4bf6-90f0-385895dff860", "file_size": 103688, "hash": "36ed90b857cc0f05a4a20d5cf6e21219", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "1b3a11b0-7bc3-4664-aeb8-1f4f7068619f", "name": "_spikeglx_ephysData_g0_t0.imec0.sync.npy", "dataset_type": "ephysData.raw.sync", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_ephysData_g0_t0.imec0.sync.1b3a11b0-7bc3-4664-aeb8-1f4f7068619f.npy", "url": "https://alyx.internationalbrainlab.org/datasets/1b3a11b0-7bc3-4664-aeb8-1f4f7068619f", "file_size": 5328, "hash": "36d4b63d2f3ef07b9974cc37c35427ea", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "1f8646d5-e7d2-4ebb-9ade-6640d63d6fbe", "name": "_spikeglx_ephysData_g0_t0.imec0.lf.meta", "dataset_type": "ephysData.raw.meta", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_ephysData_g0_t0.imec0.lf.1f8646d5-e7d2-4ebb-9ade-6640d63d6fbe.meta", "url": "https://alyx.internationalbrainlab.org/datasets/1f8646d5-e7d2-4ebb-9ade-6640d63d6fbe", "file_size": 13977, "hash": "cf17a71416c130336c7fb5c8c32f8229", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "28701221-3afb-4927-87f3-d7bf091c2e3b", "name": "_spikeglx_ephysData_g0_t0.imec0.ap.meta", "dataset_type": "ephysData.raw.meta", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_ephysData_g0_t0.imec0.ap.28701221-3afb-4927-87f3-d7bf091c2e3b.meta", "url": "https://alyx.internationalbrainlab.org/datasets/28701221-3afb-4927-87f3-d7bf091c2e3b", "file_size": 17790, "hash": "06b2e74a1845a546a9fdf93ee451a430", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "358c5705-c7c0-4c1d-9765-054a12bebff5", "name": "clusters.peakToTrough.npy", "dataset_type": "clusters.peakToTrough", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/clusters.peakToTrough.358c5705-c7c0-4c1d-9765-054a12bebff5.npy", "url": "https://alyx.internationalbrainlab.org/datasets/358c5705-c7c0-4c1d-9765-054a12bebff5", "file_size": 712, "hash": "4b0af8205106f9908712be8dd09b6bb9", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "3d7ec876-2c18-4291-89d9-50b27e5cd7a9", "name": "_spikeglx_ephysData_g0_t0.imec0.wiring.json", "dataset_type": "ephysData.raw.wiring", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_ephysData_g0_t0.imec0.wiring.3d7ec876-2c18-4291-89d9-50b27e5cd7a9.json", "url": "https://alyx.internationalbrainlab.org/datasets/3d7ec876-2c18-4291-89d9-50b27e5cd7a9", "file_size": 95, "hash": "10e76721a218051fb13db1e38c576904", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "3d986a6b-7894-485e-9e98-70c378ae099f", "name": "templates.amps.npy", "dataset_type": "templates.amps", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/templates.amps.3d986a6b-7894-485e-9e98-70c378ae099f.npy", "url": "https://alyx.internationalbrainlab.org/datasets/3d986a6b-7894-485e-9e98-70c378ae099f", "file_size": 712, "hash": "0367214c967f0585ab5211b415d68dce", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "40681e35-2214-4fea-9052-c9d49fbafb53", "name": "_iblqc_ephysSpectralDensityLF.power.npy", "dataset_type": "_iblqc_ephysSpectralDensity.power", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_iblqc_ephysSpectralDensityLF.power.40681e35-2214-4fea-9052-c9d49fbafb53.npy", "url": "https://alyx.internationalbrainlab.org/datasets/40681e35-2214-4fea-9052-c9d49fbafb53", "file_size": 790148, "hash": "b40fad59af7a4746eec7d2f5221e6bec", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "4f5aed90-9225-43bb-88c7-922b497bf2dd", "name": "spikes.depths.npy", "dataset_type": "spikes.depths", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/spikes.depths.4f5aed90-9225-43bb-88c7-922b497bf2dd.npy", "url": "https://alyx.internationalbrainlab.org/datasets/4f5aed90-9225-43bb-88c7-922b497bf2dd", "file_size": 40882112, "hash": "21281e17e501dbe95d46a8a1d32b225d", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "552c984d-776b-4f88-88a0-33e4a678124a", "name": "spikes.times.npy", "dataset_type": "spikes.times", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/spikes.times.552c984d-776b-4f88-88a0-33e4a678124a.npy", "url": "https://alyx.internationalbrainlab.org/datasets/552c984d-776b-4f88-88a0-33e4a678124a", "file_size": 40882112, "hash": "8789128af75e26de920caad65faf9cee", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "65330700-084a-4d88-87c7-e39245120349", "name": "_iblqc_ephysTimeRmsAP.rms.npy", "dataset_type": "_iblqc_ephysTimeRms.rms", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_iblqc_ephysTimeRmsAP.rms.65330700-084a-4d88-87c7-e39245120349.npy", "url": "https://alyx.internationalbrainlab.org/datasets/65330700-084a-4d88-87c7-e39245120349", "file_size": 2280868, "hash": "2264b0e45bd7c16080688170853c7b82", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "7271241b-17b6-4b17-8e6d-35adf7535cd9", "name": "channels.rawInd.npy", "dataset_type": "channels.rawInd", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/channels.rawInd.7271241b-17b6-4b17-8e6d-35adf7535cd9.npy", "url": "https://alyx.internationalbrainlab.org/datasets/7271241b-17b6-4b17-8e6d-35adf7535cd9", "file_size": 3120, "hash": "643371c81724378d34e04a60ef8769f4", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "72eb93a6-780d-45ad-8823-fb41050537c2", "name": "_spikeglx_ephysData_g0_t0.imec0.lf.ch", "dataset_type": "ephysData.raw.ch", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_ephysData_g0_t0.imec0.lf.72eb93a6-780d-45ad-8823-fb41050537c2.ch", "url": "https://alyx.internationalbrainlab.org/datasets/72eb93a6-780d-45ad-8823-fb41050537c2", "file_size": 188356, "hash": "f8cda3ecf7cfe67c9a02ccceef5636da", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "7a811f67-d995-4c6b-9f5e-1c5a0589bff7", "name": "clusters.depths.npy", "dataset_type": "clusters.depths", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/clusters.depths.7a811f67-d995-4c6b-9f5e-1c5a0589bff7.npy", "url": "https://alyx.internationalbrainlab.org/datasets/7a811f67-d995-4c6b-9f5e-1c5a0589bff7", "file_size": 712, "hash": "1d09675a38b0e157b324fb03da738339", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "9307ef91-413a-4e27-9bac-abe769b5509b", "name": "_iblqc_ephysTimeRmsLF.timestamps.npy", "dataset_type": "_iblqc_ephysTimeRms.timestamps", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_iblqc_ephysTimeRmsLF.timestamps.9307ef91-413a-4e27-9bac-abe769b5509b.npy", "url": "https://alyx.internationalbrainlab.org/datasets/9307ef91-413a-4e27-9bac-abe769b5509b", "file_size": 8028, "hash": "d7b59c5cb50d1b6e7f6df1f5972d213e", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "97025fa9-64cc-43dc-bc79-65b275ec77ca", "name": "spikes.samples.npy", "dataset_type": "spikes.samples", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/spikes.samples.97025fa9-64cc-43dc-bc79-65b275ec77ca.npy", "url": "https://alyx.internationalbrainlab.org/datasets/97025fa9-64cc-43dc-bc79-65b275ec77ca", "file_size": 40882112, "hash": "972ecf2e68ca3f2c57745489512defda", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "a424d1d2-3e55-458c-8fa7-0d485c80bf82", "name": "spikes.templates.npy", "dataset_type": "spikes.templates", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/spikes.templates.a424d1d2-3e55-458c-8fa7-0d485c80bf82.npy", "url": "https://alyx.internationalbrainlab.org/datasets/a424d1d2-3e55-458c-8fa7-0d485c80bf82", "file_size": 20441120, "hash": "643d61e8090274082a0a50876bb3adad", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "aa39c9c2-c54c-45b4-b947-a2aa51d56ea4", "name": "_kilosort_whitening.matrix.npy", "dataset_type": "kilosort.whitening_matrix", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/_kilosort_whitening.matrix.aa39c9c2-c54c-45b4-b947-a2aa51d56ea4.npy", "url": "https://alyx.internationalbrainlab.org/datasets/aa39c9c2-c54c-45b4-b947-a2aa51d56ea4", "file_size": 1119088, "hash": "dd458f483a8670f213743eb93fc9e4b6", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "b2810060-f2ae-4a2a-8e21-28607154fc3e", "name": "templates.waveforms.npy", "dataset_type": "templates.waveforms", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/templates.waveforms.b2810060-f2ae-4a2a-8e21-28607154fc3e.npy", "url": "https://alyx.internationalbrainlab.org/datasets/b2810060-f2ae-4a2a-8e21-28607154fc3e", "file_size": 766336, "hash": "0429188c961e88cf85326f60dc24ddcf", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "b8e64a19-0365-4dd9-984b-6ee6571e393b", "name": "_spikeglx_ephysData_g0_t0.imec0.timestamps.npy", "dataset_type": "ephysData.raw.timestamps", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_ephysData_g0_t0.imec0.timestamps.b8e64a19-0365-4dd9-984b-6ee6571e393b.npy", "url": "https://alyx.internationalbrainlab.org/datasets/b8e64a19-0365-4dd9-984b-6ee6571e393b", "file_size": 5328, "hash": "ab93399429989d8b0a0aa10cd3bfb262", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "e5842ab7-275f-4f5b-aade-9a0ae422c310", "name": "_iblqc_ephysSpectralDensityAP.power.npy", "dataset_type": "_iblqc_ephysSpectralDensity.power", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_iblqc_ephysSpectralDensityAP.power.e5842ab7-275f-4f5b-aade-9a0ae422c310.npy", "url": "https://alyx.internationalbrainlab.org/datasets/e5842ab7-275f-4f5b-aade-9a0ae422c310", "file_size": 790148, "hash": "234fc991687e1c99b397233534abd781", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "ed1ebf92-ec8f-42b6-bb55-f231cacd339a", "name": "_phy_spikes_subset.waveforms.npy", "dataset_type": "_phy_spikes_subset.waveforms", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/_phy_spikes_subset.waveforms.ed1ebf92-ec8f-42b6-bb55-f231cacd339a.npy", "url": "https://alyx.internationalbrainlab.org/datasets/ed1ebf92-ec8f-42b6-bb55-f231cacd339a", "file_size": 287065728, "hash": "fa7140cac43c95b0428f4d3aca8164f8", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "eec3a0ec-eb77-4c5f-b7bb-93a0f4139b81", "name": "clusters.uuids.csv", "dataset_type": "clusters.uuids", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/clusters.uuids.eec3a0ec-eb77-4c5f-b7bb-93a0f4139b81.csv", "url": "https://alyx.internationalbrainlab.org/datasets/eec3a0ec-eb77-4c5f-b7bb-93a0f4139b81", "file_size": 2706, "hash": "22ff8b744bd9018f25f31c66f898b5c2", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "f539ca9a-c0f5-4d11-9bfb-48a9bef32f0c", "name": "clusters.waveformsChannels.npy", "dataset_type": "clusters.waveformsChannels", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/clusters.waveformsChannels.f539ca9a-c0f5-4d11-9bfb-48a9bef32f0c.npy", "url": "https://alyx.internationalbrainlab.org/datasets/f539ca9a-c0f5-4d11-9bfb-48a9bef32f0c", "file_size": 9472, "hash": "2db2a1e9662f017ecc15a252d53b51dd", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "2f3d6cd2-87b6-4fc4-a164-30e0640e0dd3", "name": "clusters.waveforms.npy", "dataset_type": "clusters.waveforms", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/clusters.waveforms.2f3d6cd2-87b6-4fc4-a164-30e0640e0dd3.npy", "url": "https://alyx.internationalbrainlab.org/datasets/2f3d6cd2-87b6-4fc4-a164-30e0640e0dd3", "file_size": 766336, "hash": "0429188c961e88cf85326f60dc24ddcf", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "404e6399-cc3a-401f-b224-3ac244fe4c33", "name": "_spikeglx_ephysData_g0_t0.imec0.ap.ch", "dataset_type": "ephysData.raw.ch", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_ephysData_g0_t0.imec0.ap.404e6399-cc3a-401f-b224-3ac244fe4c33.ch", "url": "https://alyx.internationalbrainlab.org/datasets/404e6399-cc3a-401f-b224-3ac244fe4c33", "file_size": 202508, "hash": "5225357c56146d5fdf41f54385719de8", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "46613958-87ad-4e3c-a52f-ae966ea5c78f", "name": "spikes.clusters.npy", "dataset_type": "spikes.clusters", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/spikes.clusters.46613958-87ad-4e3c-a52f-ae966ea5c78f.npy", "url": "https://alyx.internationalbrainlab.org/datasets/46613958-87ad-4e3c-a52f-ae966ea5c78f", "file_size": 20441120, "hash": "643d61e8090274082a0a50876bb3adad", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "61ac731e-b625-4acb-8c4e-c478f0ce34c2", "name": "_phy_spikes_subset.spikes.npy", "dataset_type": "_phy_spikes_subset.spikes", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/_phy_spikes_subset.spikes.61ac731e-b625-4acb-8c4e-c478f0ce34c2.npy", "url": "https://alyx.internationalbrainlab.org/datasets/61ac731e-b625-4acb-8c4e-c478f0ce34c2", "file_size": 109528, "hash": "4cbeec3977d644dbfb964f0a7b352566", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "79fec68a-081e-4412-8ead-cfc97342c615", "name": "_iblqc_ephysTimeRmsLF.rms.npy", "dataset_type": "_iblqc_ephysTimeRms.rms", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_iblqc_ephysTimeRmsLF.rms.79fec68a-081e-4412-8ead-cfc97342c615.npy", "url": "https://alyx.internationalbrainlab.org/datasets/79fec68a-081e-4412-8ead-cfc97342c615", "file_size": 3041628, "hash": "5926ad41de90fa3c82a80c8049f9c44f", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "87b238f7-c035-4337-9901-dabd7712e0d7", "name": "channels.localCoordinates.npy", "dataset_type": "channels.localCoordinates", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/channels.localCoordinates.87b238f7-c035-4337-9901-dabd7712e0d7.npy", "url": "https://alyx.internationalbrainlab.org/datasets/87b238f7-c035-4337-9901-dabd7712e0d7", "file_size": 6064, "hash": "bc74f49f33ec0f7545ebc03f0490bdf6", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "96b6a8b6-e0ed-402e-8c84-128ef714c555", "name": "spikes.amps.npy", "dataset_type": "spikes.amps", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/spikes.amps.96b6a8b6-e0ed-402e-8c84-128ef714c555.npy", "url": "https://alyx.internationalbrainlab.org/datasets/96b6a8b6-e0ed-402e-8c84-128ef714c555", "file_size": 40882112, "hash": "f9dc6c5648c90750a3fbc9cfa2a9e7da", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "a7736716-d438-45a5-99de-91582bd44312", "name": "_spikeglx_sync.times.probe00.npy", "dataset_type": "_spikeglx_sync.times", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_sync.times.probe00.a7736716-d438-45a5-99de-91582bd44312.npy", "url": "https://alyx.internationalbrainlab.org/datasets/a7736716-d438-45a5-99de-91582bd44312", "file_size": 103688, "hash": "f01602383f1b49516ca5f527831cdaf7", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "a991f6d2-160a-4a70-9e9c-3237119311d5", "name": "_phy_spikes_subset.channels.npy", "dataset_type": "_phy_spikes_subset.channels", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/_phy_spikes_subset.channels.a991f6d2-160a-4a70-9e9c-3237119311d5.npy", "url": "https://alyx.internationalbrainlab.org/datasets/a991f6d2-160a-4a70-9e9c-3237119311d5", "file_size": 1750528, "hash": "52a7d08d765c8c203b425537d045e56f", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "bf600ea7-8b58-4dc7-a49d-d752d18e46b2", "name": "clusters.amps.npy", "dataset_type": "clusters.amps", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/alf/probe00/clusters.amps.bf600ea7-8b58-4dc7-a49d-d752d18e46b2.npy", "url": "https://alyx.internationalbrainlab.org/datasets/bf600ea7-8b58-4dc7-a49d-d752d18e46b2", "file_size": 712, "hash": "ff103a20f9c42dbea9a8f9c6110d7d65", "version": "4991ceba3cd423df027bc0d77e2314e9d7909e04", "collection": "alf/probe00"}, {"id": "c198723d-3174-428b-9559-8456c47ea4b5", "name": "_spikeglx_ephysData_g0_t0.imec0.ap.cbin", "dataset_type": "ephysData.raw.ap", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_spikeglx_ephysData_g0_t0.imec0.ap.c198723d-3174-428b-9559-8456c47ea4b5.cbin", "url": "https://alyx.internationalbrainlab.org/datasets/c198723d-3174-428b-9559-8456c47ea4b5", "file_size": 17283416064, "hash": "e44f7a26b879e04b9c4204a9b881683e", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "ca5b7d13-9e5f-4091-9be2-8af392188e49", "name": "_iblqc_ephysSpectralDensityLF.freqs.npy", "dataset_type": "_iblqc_ephysSpectralDensity.freqs", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_iblqc_ephysSpectralDensityLF.freqs.ca5b7d13-9e5f-4091-9be2-8af392188e49.npy", "url": "https://alyx.internationalbrainlab.org/datasets/ca5b7d13-9e5f-4091-9be2-8af392188e49", "file_size": 2180, "hash": "f3ffe62ed24d19c0979861b4308a9d00", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}, {"id": "e006237b-8879-4917-8677-00df2247cef9", "name": "_iblqc_ephysTimeRmsAP.timestamps.npy", "dataset_type": "_iblqc_ephysTimeRms.timestamps", "data_url": "https://ibl.flatironinstitute.org/cortexlab/Subjects/KS055/2021-05-10/001/raw_ephys_data/probe00/_iblqc_ephysTimeRmsAP.timestamps.e006237b-8879-4917-8677-00df2247cef9.npy", "url": "https://alyx.internationalbrainlab.org/datasets/e006237b-8879-4917-8677-00df2247cef9", "file_size": 6052, "hash": "0916111d7628659be0c2fc9b803d94bc", "version": "1.10.0", "collection": "raw_ephys_data/probe00"}], "name": "probe00", "json": {"qc": "NOT_SET", "extended_qc": {}}, "serial": "18194814141", "auto_datetime": "2021-05-12T02:13:12.169076"}, "3000-05-13T17:40:28.145258"]
|
one/webclient.py
CHANGED
|
@@ -109,7 +109,7 @@ def _cache_response(method):
|
|
|
109
109
|
response will not be used on subsequent calls. If None, the default expiry is applied.
|
|
110
110
|
clobber : bool
|
|
111
111
|
If True any existing cached response is overwritten.
|
|
112
|
-
|
|
112
|
+
kwargs
|
|
113
113
|
Keyword arguments for applying to wrapped function.
|
|
114
114
|
|
|
115
115
|
Returns
|
|
@@ -123,7 +123,7 @@ def _cache_response(method):
|
|
|
123
123
|
if args[0].__name__ != mode and mode != '*':
|
|
124
124
|
return method(alyx_client, *args, **kwargs)
|
|
125
125
|
# Check cache
|
|
126
|
-
rest_cache = alyx_client.
|
|
126
|
+
rest_cache = alyx_client.rest_cache_dir
|
|
127
127
|
sha1 = hashlib.sha1()
|
|
128
128
|
sha1.update(bytes(args[1], 'utf-8'))
|
|
129
129
|
name = sha1.hexdigest()
|
|
@@ -577,6 +577,7 @@ class AlyxClient:
|
|
|
577
577
|
# The default expiry is overridden by the `expires` kwarg. If False, the caching is
|
|
578
578
|
# turned off.
|
|
579
579
|
self.default_expiry = timedelta(minutes=5)
|
|
580
|
+
self.rest_cache_dir = self.cache_dir.joinpath('.rest')
|
|
580
581
|
self.cache_mode = cache_rest
|
|
581
582
|
self._obj_id = id(self)
|
|
582
583
|
|
|
@@ -1368,5 +1369,5 @@ class AlyxClient:
|
|
|
1368
1369
|
|
|
1369
1370
|
def clear_rest_cache(self):
|
|
1370
1371
|
"""Clear all REST response cache files for the base url."""
|
|
1371
|
-
for file in self.
|
|
1372
|
+
for file in self.rest_cache_dir.glob('*'):
|
|
1372
1373
|
file.unlink()
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
one/__init__.py,sha256=
|
|
2
|
-
one/api.py,sha256=
|
|
1
|
+
one/__init__.py,sha256=nKd_NCNbJ9Ho_j3P8h-XU26LrTAttd57T00axX7w7lc,76
|
|
2
|
+
one/api.py,sha256=THbxDFXr_sxgJK3yj_3v5xczvplG0LtIududHp1UrTM,136798
|
|
3
3
|
one/converters.py,sha256=icKlwPyxf3tJtyOFBj_SG06QDLIZLdTGalCSk1-cAvk,30733
|
|
4
4
|
one/params.py,sha256=zwR0Yq09ztROfH3fJsCUc-IDs_PBixT3WU3dm1vX728,15050
|
|
5
5
|
one/registration.py,sha256=cWvQFAzCF04wMZJjdOzBPJkYOJ3BO2KEgqtVG7qOlmA,36177
|
|
6
6
|
one/util.py,sha256=NUG_dTz3_4GXYG49qSql6mFCBkaVaq7_XdecRPRszJQ,20173
|
|
7
|
-
one/webclient.py,sha256=
|
|
7
|
+
one/webclient.py,sha256=vdu4yrS8HltegsevhIJg2bKn-xpHYic5j1LO6_IwZiA,50445
|
|
8
8
|
one/alf/__init__.py,sha256=DaFIi7PKlurp5HnyNOpJuIlY3pyhiottFpJfxR59VsY,70
|
|
9
9
|
one/alf/cache.py,sha256=09NDLGIUA6GcCJgzbDxSFpgq9sU6gyCuHIF8c7zHAMM,24814
|
|
10
10
|
one/alf/exceptions.py,sha256=6Gw8_ZObLnuYUpY4i0UyU4IA0kBZMBnJBGQyzIcDlUM,3427
|
|
11
11
|
one/alf/io.py,sha256=7mmd1wJwh7qok0WKkpGzkLxEuw4WSnaQ6EkGVvaODLI,30798
|
|
12
|
-
one/alf/path.py,sha256=
|
|
12
|
+
one/alf/path.py,sha256=ylOUQK0TmBBHC_lJbgc0b_u8DTY8yP2hpouT0sIklvs,54065
|
|
13
13
|
one/alf/spec.py,sha256=eWW4UDMsyYO52gzadZ-l09X2adVbXwpRKUBtd7NlYMw,20711
|
|
14
14
|
one/remote/__init__.py,sha256=pasT1r9t2F2_-hbx-5EKlJ-yCM9ItucQbeDHUbFJcyA,40
|
|
15
15
|
one/remote/aws.py,sha256=DurvObYa8rgyYQMWeaq1ol7PsdJoE9bVT1NnH2rxRRE,10241
|
|
16
16
|
one/remote/base.py,sha256=cmS5TwCPjlSLuoN2UN995O9N-4Zr8ZHz3in_iRopMgs,4406
|
|
17
|
-
one/remote/globus.py,sha256=
|
|
17
|
+
one/remote/globus.py,sha256=JV3k9iAwiBKnfuS-aZ5t_WcA6jpZtPvbUhcgdB7-8Zk,47501
|
|
18
18
|
one/tests/fixtures/datasets.pqt,sha256=oYfOoGJfT1HN_rj-zpAaNpzzJsneekvDqg4zQ6XOQgk,29918
|
|
19
19
|
one/tests/fixtures/sessions.pqt,sha256=KmBvSi_o0fhSnFhOjQOTq1BHemZsbn89BcSVw4Ecp60,6916
|
|
20
20
|
one/tests/fixtures/test_dbs.json,sha256=Dq6IBOjofB6YdsEJEZDSDe6Gh4WebKX4Erx7Hs2i8WQ,310
|
|
@@ -29,9 +29,9 @@ one/tests/fixtures/rest_responses/5618bea3484a52cd893616f07903f0e49e023ba1,sha25
|
|
|
29
29
|
one/tests/fixtures/rest_responses/6dc96f7e9bcc6ac2e7581489b9580a6cd3f28293,sha256=BggVJtZdEEuF5FIwtu0aOVKaqOrj_lF5xllr15vFad8,8065
|
|
30
30
|
one/tests/fixtures/rest_responses/db1731fb8df0208944ae85f76718430813a8bf50,sha256=Dki7cTDg1bhbtPkuiv9NPRsuhM7TuicxoLcGtRD4D8g,209
|
|
31
31
|
one/tests/fixtures/rest_responses/dcce48259bb929661f60a02a48563f70aa6185b3,sha256=skaKl6sPgTyrufCIGNVNJfccXM-jSjYvAdyqNS3HXuA,416
|
|
32
|
-
one/tests/fixtures/rest_responses/f530d6022f61cdc9e38cc66beb3cb71f3003c9a1,sha256=
|
|
33
|
-
one_api-3.
|
|
34
|
-
one_api-3.
|
|
35
|
-
one_api-3.
|
|
36
|
-
one_api-3.
|
|
37
|
-
one_api-3.
|
|
32
|
+
one/tests/fixtures/rest_responses/f530d6022f61cdc9e38cc66beb3cb71f3003c9a1,sha256=6TgUqgqa7OgSyW3apDAnzjAOjMyHi_xV2M8uwOvvYoY,22575
|
|
33
|
+
one_api-3.3.0.dist-info/licenses/LICENSE,sha256=W6iRQJcr-tslNfY4gL98IWvPtpe0E3tcWCFOD3IFUqg,1087
|
|
34
|
+
one_api-3.3.0.dist-info/METADATA,sha256=3fTcrhrjWkVJHPsE8NueElUjtoK1Xy6YuKtfifQkEmA,4170
|
|
35
|
+
one_api-3.3.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
36
|
+
one_api-3.3.0.dist-info/top_level.txt,sha256=LIsI2lzmA5jh8Zrw5dzMdE3ydLgmq-WF6rpoxSVDSAY,4
|
|
37
|
+
one_api-3.3.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|