np-workflows 1.6.80__tar.gz → 1.6.82__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.
Files changed (68) hide show
  1. {np_workflows-1.6.80 → np_workflows-1.6.82}/PKG-INFO +6 -3
  2. {np_workflows-1.6.80 → np_workflows-1.6.82}/pyproject.toml +5 -2
  3. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/shared/base_experiments.py +2 -4
  4. {np_workflows-1.6.80 → np_workflows-1.6.82}/README.md +0 -0
  5. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/__init__.py +0 -0
  6. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/assets/images/logo_np_hab.png +0 -0
  7. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/assets/images/logo_np_vis.png +0 -0
  8. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/__init__.py +0 -0
  9. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/dynamic_routing/__init__.py +0 -0
  10. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/dynamic_routing/main.py +0 -0
  11. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/dynamic_routing/widgets.py +0 -0
  12. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/openscope_barcode/__init__.py +0 -0
  13. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/openscope_barcode/barcode_workflow_widget.py +0 -0
  14. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/openscope_barcode/camstim_scripts/barcode_mapping_script.py +0 -0
  15. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/openscope_barcode/camstim_scripts/barcode_opto_script.py +0 -0
  16. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/openscope_barcode/main_barcode_pilot.py +0 -0
  17. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/openscope_loop/__init__.py +0 -0
  18. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/openscope_loop/camstim_scripts/barcode_mapping_script.py +0 -0
  19. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/openscope_loop/camstim_scripts/barcode_opto_script.py +0 -0
  20. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/openscope_loop/loop_workflow_widget.py +0 -0
  21. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/openscope_loop/main_loop_pilot.py +0 -0
  22. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/openscope_vippo/__init__.py +0 -0
  23. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/openscope_vippo/main_vippo_pilot.py +0 -0
  24. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/openscope_vippo/vippo_workflow_widget.py +0 -0
  25. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/__init__.py +0 -0
  26. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/make_tt_stims.py +0 -0
  27. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/oct22_tt_stim_script.py +0 -0
  28. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_00.stim +0 -0
  29. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_01.stim +0 -0
  30. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_02.stim +0 -0
  31. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_03.stim +0 -0
  32. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_04.stim +0 -0
  33. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_05.stim +0 -0
  34. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_06.stim +0 -0
  35. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_07.stim +0 -0
  36. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_08.stim +0 -0
  37. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_09.stim +0 -0
  38. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_10.stim +0 -0
  39. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_11.stim +0 -0
  40. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_12.stim +0 -0
  41. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_13.stim +0 -0
  42. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_14.stim +0 -0
  43. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_15.stim +0 -0
  44. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_16.stim +0 -0
  45. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_17.stim +0 -0
  46. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/densely_annotated_18.stim +0 -0
  47. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/flash_250ms.stim +0 -0
  48. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/gabor_20_deg_250ms.stim +0 -0
  49. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/old_stim.stim +0 -0
  50. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/shuffle_reversed.stim +0 -0
  51. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/shuffle_reversed_1st.stim +0 -0
  52. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/stims/shuffle_reversed_2nd.stim +0 -0
  53. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/ttn_main_script.py +0 -0
  54. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/ttn_mapping_script.py +0 -0
  55. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/camstim_scripts/ttn_opto_script.py +0 -0
  56. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/main_ttn_pilot.py +0 -0
  57. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/ttn_session_widget.py +0 -0
  58. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/task_trained_network/ttn_stim_config.py +0 -0
  59. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/templeton/__init__.py +0 -0
  60. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/templeton/main.py +0 -0
  61. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/experiments/templeton/widgets.py +0 -0
  62. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/shared/__init__.py +0 -0
  63. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/shared/camstim_scripts/flash_250ms.stim +0 -0
  64. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/shared/camstim_scripts/gabor_20_deg_250ms.stim +0 -0
  65. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/shared/npxc.py +0 -0
  66. {np_workflows-1.6.80 → np_workflows-1.6.82}/src/np_workflows/shared/widgets.py +0 -0
  67. {np_workflows-1.6.80 → np_workflows-1.6.82}/tests/model_sandbox.py +0 -0
  68. {np_workflows-1.6.80 → np_workflows-1.6.82}/tests/widget_sandbox.ipynb +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: np-workflows
3
- Version: 1.6.80
3
+ Version: 1.6.82
4
4
  Summary: Ecephys and behavior workflows for the Mindscope Neuropixels team.
5
5
  Author-Email: Ben Hardcastle <ben.hardcastle@alleninstitute.org>
6
6
  License: MIT
@@ -25,7 +25,11 @@ Requires-Dist: universal-pathlib>=0.1.0
25
25
  Requires-Dist: s3fs>=2023.6.0
26
26
  Requires-Dist: npc-shields>=0.1.10
27
27
  Requires-Dist: npc-sessions>=0.0.225
28
- Requires-Dist: np-codeocean>=0.2.0
28
+ Requires-Dist: np-codeocean[dynamic-routing-metadata]>=0.2.1
29
+ Requires-Dist: panel>=1.4.5
30
+ Requires-Dist: aind-session>=0.1.20
31
+ Requires-Dist: jupyter-bokeh>=4.0.5
32
+ Provides-Extra: dev
29
33
  Requires-Dist: blue>=0.9.1; extra == "dev"
30
34
  Requires-Dist: pytest>=7.2.2; extra == "dev"
31
35
  Requires-Dist: mypy>=1.1.1; extra == "dev"
@@ -34,7 +38,6 @@ Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
34
38
  Requires-Dist: bump>=1.3.2; extra == "dev"
35
39
  Requires-Dist: types-backports>=0.1.3; extra == "dev"
36
40
  Requires-Dist: ruff>=0.0.260; extra == "dev"
37
- Provides-Extra: dev
38
41
  Description-Content-Type: text/markdown
39
42
 
40
43
  # np_workflows
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "np-workflows"
3
- version = "1.6.80"
3
+ version = "1.6.82"
4
4
  description = "Ecephys and behavior workflows for the Mindscope Neuropixels team."
5
5
  authors = [
6
6
  { name = "Ben Hardcastle", email = "ben.hardcastle@alleninstitute.org" },
@@ -21,7 +21,10 @@ dependencies = [
21
21
  "s3fs>=2023.6.0",
22
22
  "npc-shields>=0.1.10",
23
23
  "npc-sessions>=0.0.225",
24
- "np-codeocean>=0.2.0",
24
+ "np-codeocean[dynamic-routing-metadata]>=0.2.1",
25
+ "panel>=1.4.5",
26
+ "aind-session>=0.1.20",
27
+ "jupyter-bokeh>=4.0.5",
25
28
  ]
26
29
  classifiers = [
27
30
  "Programming Language :: Python :: 3",
@@ -219,14 +219,12 @@ class WithSession(abc.ABC):
219
219
  stims = self.stims
220
220
  while not all(_.is_ready_to_start() for _ in stims):
221
221
  time.sleep(5)
222
- is_first_mvr_file = True
223
222
  for stoppable in (_ for _ in recorders if isinstance(_, Stoppable)):
224
- if is_first_mvr_file and 'mvr' in stoppable.__name__.lower():
223
+ stoppable.stop()
224
+ if 'videomvr' in stoppable.__name__.lower():
225
225
  sleep_s = 4
226
226
  time.sleep(sleep_s)
227
227
  logger.warning(f'Waiting additional {sleep_s} s for MVR to finish writing...')
228
- is_first_mvr_file = False
229
- stoppable.stop()
230
228
 
231
229
  def start_services(self, *services: Service) -> None:
232
230
  if not services:
File without changes