msw-plugin-api 0.2.2__tar.gz → 0.2.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: msw-plugin-api
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Minimal structural interfaces for MSW plugin packages
5
5
  Project-URL: Homepage, https://github.com/MurineShiftWork/msw-plugin-api
6
6
  Project-URL: Issue Tracker, https://github.com/MurineShiftWork/msw-plugin-api/issues
@@ -0,0 +1 @@
1
+ 0.2.3
@@ -52,7 +52,7 @@ dev = [
52
52
  [tool.commitizen]
53
53
  name = "cz_conventional_commits"
54
54
  version_provider = "commitizen"
55
- version = "0.2.2"
55
+ version = "0.2.3"
56
56
  version_files = ["VERSION"]
57
57
  tag_format = "v$version"
58
58
  update_changelog_on_bump = false
@@ -24,12 +24,16 @@ from typing import Protocol, runtime_checkable
24
24
  class HostSessionInfo:
25
25
  """Data returned by a host session plugin after attaching.
26
26
 
27
+ ``session_name`` is the name of the host session directory (e.g. the Open
28
+ Ephys recording folder). MSW behavioural acquisitions are nested inside
29
+ it: ``basepath/subject/session_name/acquisition_basename/``.
30
+
27
31
  Plugins may return this class directly or return any object whose
28
32
  attributes satisfy HostSessionInfoProtocol.
29
33
  """
30
34
 
31
35
  backend: str
32
- acquisition_name: str
36
+ session_name: str
33
37
  subject: str
34
38
  parent_directory: str
35
39
  extra: dict[str, object] = field(default_factory=dict)
@@ -40,7 +44,7 @@ class HostSessionInfoProtocol(Protocol):
40
44
  """Structural protocol for host session info objects."""
41
45
 
42
46
  backend: str
43
- acquisition_name: str
47
+ session_name: str
44
48
  subject: str
45
49
  parent_directory: str
46
50
  extra: dict[str, object]
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '0.2.2'
22
- __version_tuple__ = version_tuple = (0, 2, 2)
21
+ __version__ = version = '0.2.3'
22
+ __version_tuple__ = version_tuple = (0, 2, 3)
23
23
 
24
24
  __commit_id__ = commit_id = None
@@ -1 +0,0 @@
1
- 0.2.2
File without changes
File without changes