Skip to content

Commit

Permalink
bump ONE version
Browse files Browse the repository at this point in the history
  • Loading branch information
k1o0 committed Nov 2, 2023
1 parent 47b5eff commit 166c4c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions ibllib/io/extractors/ephys_fpga.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,12 @@ def _sync_to_alf(raw_ephys_apfile, output_path=None, save=False, parts=''):
else:
raw_ephys_apfile = Path(raw_ephys_apfile)
sr = spikeglx.Reader(raw_ephys_apfile)
opened = sr.is_open
if not opened: # if not (opened := sr.is_open) # py3.8
if not (opened := sr.is_open):
sr.open()
# if no output, need a temp folder to swap for big files
if not output_path:
output_path = raw_ephys_apfile.parent
file_ftcp = Path(output_path).joinpath(f'fronts_times_channel_polarity{str(uuid.uuid4())}.bin')
file_ftcp = Path(output_path).joinpath(f'fronts_times_channel_polarity{uuid.uuid4()}.bin')

# loop over chunks of the raw ephys file
wg = neurodsp.utils.WindowGenerator(sr.ns, int(SYNC_BATCH_SIZE_SECS * sr.fs), overlap=1)
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 @@ tqdm>=4.32.1
ibl-neuropixel>=0.8.1
iblutil>=1.7.0
labcams # widefield extractor
ONE-api>=2.4
ONE-api>=2.5
slidingRP>=1.0.0 # steinmetz lab refractory period metrics
wfield==0.3.7 # widefield extractor frozen for now (2023/07/15) until Joao fixes latest version
psychofit
Expand Down

0 comments on commit 166c4c5

Please sign in to comment.