Skip to content

Commit

Permalink
fix streamer with one 2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
oliche committed Oct 25, 2024
1 parent 4f652e7 commit b67d23a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion brainbox/io/spikeglx.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ def __init__(self, pid, one, typ='ap', cache_folder=None, remove_cached=False):
self.file_chunks = self.one.load_dataset(self.eid, f'*.{typ}.ch', collection=f"*{self.pname}")
meta_file = self.one.load_dataset(self.eid, f'*.{typ}.meta', collection=f"*{self.pname}")
cbin_rec = self.one.list_datasets(self.eid, collection=f"*{self.pname}", filename=f'*{typ}.*bin', details=True)
self.url_cbin = self.one.record2url(cbin_rec, eid=self.eid)[0]
cbin_rec.index = cbin_rec.index.map(lambda x: (self.eid, x))
self.url_cbin = self.one.record2url(cbin_rec)[0]
with open(self.file_chunks, 'r') as f:
self.chunks = json.load(f)
self.chunks['chunk_bounds'] = np.array(self.chunks['chunk_bounds'])
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ iblatlas>=0.5.3
ibl-neuropixel>=1.0.1
iblutil>=1.13.0
mtscomp>=1.0.1
ONE-api>=2.10.1
ONE-api>=2.10
phylib>=2.6.0
psychofit
slidingRP>=1.1.1 # steinmetz lab refractory period metrics
Expand Down

0 comments on commit b67d23a

Please sign in to comment.