Skip to content

Commit a4b4ef4

Browse files
authored
Merge branch 'main' into add-BaseRasterWidget
2 parents ace3181 + cbe5471 commit a4b4ef4

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

examples/tutorials/curation/plot_1_automated_curation.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ def calculate_moving_avg(label_df, confidence_label, window_size):
209209
# trained on real data.
210210
#
211211
# For example, the following classifiers are trained on Neuropixels data from 11 mice recorded in
212-
# V1,SC and ALM: https://huggingface.co/AnoushkaJain3/noise_neural_classifier/ and
213-
# https://huggingface.co/AnoushkaJain3/sua_mua_classifier/ . One will classify units into
212+
# V1,SC and ALM: https://huggingface.co/SpikeInterface/UnitRefine_noise_neural_classifier/ and
213+
# https://huggingface.co/SpikeInterface/UnitRefine_sua_mua_classifier/. One will classify units into
214214
# `noise` or `not-noise` and the other will classify the `not-noise` units into single
215215
# unit activity (sua) units and multi-unit activity (mua) units.
216216
#
@@ -221,8 +221,8 @@ def calculate_moving_avg(label_df, confidence_label, window_size):
221221

222222
# Apply the noise/not-noise model
223223
noise_neuron_labels = sc.auto_label_units(
224-
sorting_analyzer = sorting_analyzer,
225-
repo_id = "AnoushkaJain3/noise_neural_classifier",
224+
sorting_analyzer=sorting_analyzer,
225+
repo_id="SpikeInterface/UnitRefine_noise_neural_classifier",
226226
trust_model=True,
227227
)
228228

@@ -231,8 +231,8 @@ def calculate_moving_avg(label_df, confidence_label, window_size):
231231

232232
# Apply the sua/mua model
233233
sua_mua_labels = sc.auto_label_units(
234-
sorting_analyzer = analyzer_neural,
235-
repo_id = "AnoushkaJain3/sua_mua_classifier",
234+
sorting_analyzer=analyzer_neural,
235+
repo_id="SpikeInterface/UnitRefine_sua_mua_classifier",
236236
trust_model=True,
237237
)
238238

src/spikeinterface/core/globals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def is_set_global_dataset_folder() -> bool:
9898

9999
########################################
100100
_default_job_kwargs = dict(
101-
pool_engine="thread", n_jobs=1, chunk_duration="1s", progress_bar=True, mp_context=None, max_threads_per_worker=1
101+
pool_engine="process", n_jobs=1, chunk_duration="1s", progress_bar=True, mp_context=None, max_threads_per_worker=1
102102
)
103103

104104
global global_job_kwargs

src/spikeinterface/core/tests/test_globals.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test_global_tmp_folder(create_cache_folder):
3737

3838
def test_global_job_kwargs():
3939
job_kwargs = dict(
40-
pool_engine="thread",
40+
pool_engine="process",
4141
n_jobs=4,
4242
chunk_duration="1s",
4343
progress_bar=True,
@@ -47,7 +47,7 @@ def test_global_job_kwargs():
4747
global_job_kwargs = get_global_job_kwargs()
4848

4949
assert global_job_kwargs == dict(
50-
pool_engine="thread",
50+
pool_engine="process",
5151
n_jobs=1,
5252
chunk_duration="1s",
5353
progress_bar=True,
@@ -62,7 +62,7 @@ def test_global_job_kwargs():
6262
set_global_job_kwargs(**partial_job_kwargs)
6363
global_job_kwargs = get_global_job_kwargs()
6464
assert global_job_kwargs == dict(
65-
pool_engine="thread",
65+
pool_engine="process",
6666
n_jobs=2,
6767
chunk_duration="1s",
6868
progress_bar=True,

0 commit comments

Comments
 (0)