np-workflows 1.6.86__tar.gz → 1.6.87__tar.gz
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.
- {np_workflows-1.6.86 → np_workflows-1.6.87}/PKG-INFO +1 -1
- {np_workflows-1.6.86 → np_workflows-1.6.87}/pyproject.toml +1 -1
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/shared/base_experiments.py +8 -2
- {np_workflows-1.6.86 → np_workflows-1.6.87}/README.md +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/__init__.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/assets/images/logo_np_hab.png +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/assets/images/logo_np_vis.png +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/__init__.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/dynamic_routing/__init__.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/dynamic_routing/main.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/dynamic_routing/widgets.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/openscope_barcode/__init__.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/openscope_barcode/barcode_workflow_widget.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/openscope_barcode/camstim_scripts/barcode_mapping_script.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/openscope_barcode/camstim_scripts/barcode_opto_script.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/openscope_barcode/main_barcode_pilot.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/openscope_loop/__init__.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/openscope_loop/camstim_scripts/barcode_mapping_script.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/openscope_loop/camstim_scripts/barcode_opto_script.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/openscope_loop/loop_workflow_widget.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/openscope_loop/main_loop_pilot.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/openscope_psycode/__init__.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/openscope_psycode/main_psycode_pilot.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/openscope_psycode/psycode_workflow_widget.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/openscope_vippo/__init__.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/openscope_vippo/main_vippo_pilot.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/openscope_vippo/vippo_workflow_widget.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/__init__.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/make_tt_stims.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/oct22_tt_stim_script.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_00.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_01.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_02.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_03.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_04.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_05.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_06.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_07.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_08.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_09.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_10.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_11.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_12.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_13.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_14.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_15.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_16.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_17.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_18.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/flash_250ms.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/gabor_20_deg_250ms.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/old_stim.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/shuffle_reversed.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/shuffle_reversed_1st.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/shuffle_reversed_2nd.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/ttn_main_script.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/ttn_mapping_script.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/camstim_scripts/ttn_opto_script.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/main_ttn_pilot.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/ttn_session_widget.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/task_trained_network/ttn_stim_config.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/templeton/__init__.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/templeton/main.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/templeton/widgets.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/shared/__init__.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/shared/camstim_scripts/flash_250ms.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/shared/camstim_scripts/gabor_20_deg_250ms.stim +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/shared/npxc.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/shared/widgets.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/tests/model_sandbox.py +0 -0
- {np_workflows-1.6.86 → np_workflows-1.6.87}/tests/widget_sandbox.ipynb +0 -0
|
@@ -8,7 +8,7 @@ import pathlib
|
|
|
8
8
|
import re
|
|
9
9
|
import shutil
|
|
10
10
|
import time
|
|
11
|
-
from typing import Any, ClassVar, Iterable, Literal, Optional, Protocol, Sequence, Type
|
|
11
|
+
from typing import Any, ClassVar, Iterable, Literal, Mapping, Optional, Protocol, Sequence, Type
|
|
12
12
|
|
|
13
13
|
import fabric
|
|
14
14
|
import invoke
|
|
@@ -712,7 +712,13 @@ class DynamicRoutingExperiment(WithSession):
|
|
|
712
712
|
else:
|
|
713
713
|
np_services.ScriptCamstim.script = self.camstim_script.as_posix()
|
|
714
714
|
|
|
715
|
-
|
|
715
|
+
if (script_override_params := getattr(self, 'script_override_params', None)) is not None:
|
|
716
|
+
if not isinstance(script_override_params, Mapping):
|
|
717
|
+
raise TypeError(f"script_override_params must be a dict/Mapping, got {type(script_override_params)}")
|
|
718
|
+
else:
|
|
719
|
+
script_override_params = {}
|
|
720
|
+
|
|
721
|
+
np_services.ScriptCamstim.params = params | script_override_params
|
|
716
722
|
|
|
717
723
|
self.update_state()
|
|
718
724
|
self.log(f"{stim} started")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/dynamic_routing/__init__.py
RENAMED
|
File without changes
|
{np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/dynamic_routing/main.py
RENAMED
|
File without changes
|
{np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/dynamic_routing/widgets.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/openscope_loop/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/openscope_vippo/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/templeton/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/experiments/templeton/widgets.py
RENAMED
|
File without changes
|
|
File without changes
|
{np_workflows-1.6.86 → np_workflows-1.6.87}/src/np_workflows/shared/camstim_scripts/flash_250ms.stim
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|