Skip to content

Commit

Permalink
fix: update spike interface version (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtyoung84 authored May 5, 2024
1 parent ad4d744 commit 05d44ce
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies = [

[project.optional-dependencies]
ephys = [
'spikeinterface[full]>=0.100.0',
'spikeinterface[full]>=0.100.5',
'probeinterface==0.2.21',
'wavpack-numcodecs>=0.1.3,<=0.1.5',
'zarr==2.16.1',
Expand Down
2 changes: 2 additions & 0 deletions src/aind_data_transformation/ephys/ephys_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,12 @@ def _compress_and_write_block(
f" and might lead to errors. Use a shorter destination "
f"path."
)
# compression for times is disabled
_ = rec.save(
format=output_format,
folder=zarr_path,
compressor=compressor,
compressor_by_dataset=dict(times=None),
**job_kwargs,
)

Expand Down
18 changes: 18 additions & 0 deletions tests/test_ephys_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,7 @@ def test_compress_and_write_scaled_blocks(
num_encoding_threads=1,
shaping_weight=0.0,
),
compressor_by_dataset={"times": None},
n_jobs=1,
),
call(
Expand All @@ -557,6 +558,7 @@ def test_compress_and_write_scaled_blocks(
num_encoding_threads=1,
shaping_weight=0.0,
),
compressor_by_dataset={"times": None},
n_jobs=1,
),
call(
Expand All @@ -577,6 +579,7 @@ def test_compress_and_write_scaled_blocks(
num_encoding_threads=1,
shaping_weight=0.0,
),
compressor_by_dataset={"times": None},
n_jobs=1,
),
]
Expand All @@ -601,6 +604,7 @@ def test_compress_and_write_scaled_blocks(
num_encoding_threads=1,
shaping_weight=0.0,
),
compressor_by_dataset={"times": None},
n_jobs=1,
),
call(
Expand All @@ -621,6 +625,7 @@ def test_compress_and_write_scaled_blocks(
num_encoding_threads=1,
shaping_weight=0.0,
),
compressor_by_dataset={"times": None},
n_jobs=1,
),
call(
Expand All @@ -641,6 +646,7 @@ def test_compress_and_write_scaled_blocks(
num_encoding_threads=1,
shaping_weight=0.0,
),
compressor_by_dataset={"times": None},
n_jobs=1,
),
call(
Expand All @@ -661,6 +667,7 @@ def test_compress_and_write_scaled_blocks(
num_encoding_threads=1,
shaping_weight=0.0,
),
compressor_by_dataset={"times": None},
n_jobs=1,
),
call(
Expand All @@ -681,6 +688,7 @@ def test_compress_and_write_scaled_blocks(
num_encoding_threads=1,
shaping_weight=0.0,
),
compressor_by_dataset={"times": None},
n_jobs=1,
),
call(
Expand All @@ -701,6 +709,7 @@ def test_compress_and_write_scaled_blocks(
num_encoding_threads=1,
shaping_weight=0.0,
),
compressor_by_dataset={"times": None},
n_jobs=1,
),
]
Expand Down Expand Up @@ -757,6 +766,7 @@ def test_compress_and_write_read_blocks(
num_encoding_threads=1,
shaping_weight=0.0,
),
compressor_by_dataset={"times": None},
n_jobs=1,
),
call(
Expand All @@ -777,6 +787,7 @@ def test_compress_and_write_read_blocks(
num_encoding_threads=1,
shaping_weight=0.0,
),
compressor_by_dataset={"times": None},
n_jobs=1,
),
call(
Expand All @@ -797,6 +808,7 @@ def test_compress_and_write_read_blocks(
num_encoding_threads=1,
shaping_weight=0.0,
),
compressor_by_dataset={"times": None},
n_jobs=1,
),
call(
Expand All @@ -817,6 +829,7 @@ def test_compress_and_write_read_blocks(
num_encoding_threads=1,
shaping_weight=0.0,
),
compressor_by_dataset={"times": None},
n_jobs=1,
),
call(
Expand All @@ -837,6 +850,7 @@ def test_compress_and_write_read_blocks(
num_encoding_threads=1,
shaping_weight=0.0,
),
compressor_by_dataset={"times": None},
n_jobs=1,
),
call(
Expand All @@ -857,6 +871,7 @@ def test_compress_and_write_read_blocks(
num_encoding_threads=1,
shaping_weight=0.0,
),
compressor_by_dataset={"times": None},
n_jobs=1,
),
call(
Expand All @@ -877,6 +892,7 @@ def test_compress_and_write_read_blocks(
num_encoding_threads=1,
shaping_weight=0.0,
),
compressor_by_dataset={"times": None},
n_jobs=1,
),
call(
Expand All @@ -897,6 +913,7 @@ def test_compress_and_write_read_blocks(
num_encoding_threads=1,
shaping_weight=0.0,
),
compressor_by_dataset={"times": None},
n_jobs=1,
),
call(
Expand All @@ -917,6 +934,7 @@ def test_compress_and_write_read_blocks(
num_encoding_threads=1,
shaping_weight=0.0,
),
compressor_by_dataset={"times": None},
n_jobs=1,
),
],
Expand Down

0 comments on commit 05d44ce

Please sign in to comment.