murineshiftwork 2.16.1__tar.gz → 2.16.2__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.
- murineshiftwork-2.16.2/LICENSE +35 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/PKG-INFO +32 -27
- murineshiftwork-2.16.2/VERSION +1 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/pyproject.toml +5 -2
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_hardware_manager.py +5 -1
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_preflight_and_pipeline.py +2 -2
- murineshiftwork-2.16.1/LICENSE +0 -31
- murineshiftwork-2.16.1/VERSION +0 -1
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/.gitignore +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/CITATION.cff +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/README.md +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/src/murineshiftwork/py.typed +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/conftest.py +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_fixedsubjects/_test_subject__20260518_121602_710824__probabilistic_switching_fixedsubjects.msw.csv +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_fixedsubjects/_test_subject__20260518_121602_710824__probabilistic_switching_fixedsubjects.msw.df.jsonl +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_fixedsubjects/_test_subject__20260518_121602_710824__probabilistic_switching_fixedsubjects.msw.session.yaml +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_jsonl/subject001__20260508_172956_258756__probabilistic_switching_fixedsubjects.msw.csv +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_jsonl/subject001__20260508_172956_258756__probabilistic_switching_fixedsubjects.msw.df.jsonl +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_jsonl/subject001__20260508_172956_258756__probabilistic_switching_fixedsubjects.msw.settings.process.json +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_jsonl/subject001__20260508_172956_258756__probabilistic_switching_fixedsubjects.msw.settings.task.json +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_legacy/subject003__20210426_183409__probabilistic_switching/subject003__20210426_183409__probabilistic_switching.pkl +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_legacy/subject003__20210426_183409__probabilistic_switching/subject003__20210426_183409__probabilistic_switching.task_settings.py +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_optotagging/_test_subject__20260527_133053_901389__optotagging/_test_subject__20260527_133053_901389__optotagging.msw.session.yaml +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_optotagging/_test_subject__20260527_133053_901389__optotagging/_test_subject__20260527_133053_901389__optotagging_power_ramp_1mw.msw.df.jsonl +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_optotagging/_test_subject__20260527_133053_901389__optotagging/_test_subject__20260527_133053_901389__optotagging_power_ramp_2mw.msw.csv +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_optotagging/_test_subject__20260527_133053_901389__optotagging/session_manifest.yaml +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_pkl/subject002__20260429_153653__probabilistic_switching_fixedsubjects.msw.csv +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_pkl/subject002__20260429_153653__probabilistic_switching_fixedsubjects.msw.df.pkl +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_pkl/subject002__20260429_153653__probabilistic_switching_fixedsubjects.msw.settings.process.json +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_pkl/subject002__20260429_153653__probabilistic_switching_fixedsubjects.msw.settings.task.json +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_sequence/_test_subject__20260520_114516_534465__sequence.msw.csv +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_sequence/_test_subject__20260520_114516_534465__sequence.msw.df.jsonl +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_sequence/_test_subject__20260520_114516_534465__sequence.msw.session.yaml +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_v2/_test_subject__20260516_130611_739182__probabilistic_switching_fixedsubjects.msw.csv +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_v2/_test_subject__20260516_130611_739182__probabilistic_switching_fixedsubjects.msw.df.jsonl +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/fixture_v2/_test_subject__20260516_130611_739182__probabilistic_switching_fixedsubjects.msw.session.yaml +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/namespace.v1.yaml +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/namespace.v2.yaml +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/data/namespace.v3.yaml +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_calibration_outliers.py +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_calibration_tasks_sim.py +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_cli_entrypoints.py +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_cli_evaluate.py +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_config_io.py +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_config_models.py +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_hooks.py +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_host_session.py +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_integration_deps.py +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_logagent.py +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_namespace_readiness.py +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_plot_spec.py +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_post_and_action.py +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_session_yaml_serialization.py +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_sim_hardware.py +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_task_discovery.py +0 -0
- {murineshiftwork-2.16.1 → murineshiftwork-2.16.2}/tests/test_taskrunner_paths.py +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
BSD-3-Clause-NonCommercial
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020-present, Lars B. Rollik.
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted for NON-COMMERCIAL research, academic, and
|
|
8
|
+
educational purposes only, provided that the following conditions are met:
|
|
9
|
+
|
|
10
|
+
1. Redistributions of source code must retain the above copyright notice,
|
|
11
|
+
this list of conditions and the following disclaimer.
|
|
12
|
+
|
|
13
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
14
|
+
this list of conditions and the following disclaimer in the documentation
|
|
15
|
+
and/or other materials provided with the distribution.
|
|
16
|
+
|
|
17
|
+
3. Neither the name of the copyright holder nor the names of its contributors
|
|
18
|
+
may be used to endorse or promote products derived from this software
|
|
19
|
+
without specific prior written permission.
|
|
20
|
+
|
|
21
|
+
4. Any use of this software or its derivatives for COMMERCIAL purposes -
|
|
22
|
+
including sale, paid licensing, or providing paid services built on it -
|
|
23
|
+
requires a separate commercial licence. Contact lars@rollik.me.
|
|
24
|
+
|
|
25
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
26
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
27
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
28
|
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
29
|
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
30
|
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
31
|
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
32
|
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
33
|
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
34
|
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
35
|
+
POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -1,46 +1,51 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: murineshiftwork
|
|
3
|
-
Version: 2.16.
|
|
3
|
+
Version: 2.16.2
|
|
4
4
|
Summary: Behaviour acquisition framework for standardised, scalable experiments.
|
|
5
5
|
Project-URL: Homepage, https://github.com/MurineShiftWork/murineshiftwork
|
|
6
6
|
Project-URL: Documentation, https://MurineShiftWork.github.io/murineshiftwork/
|
|
7
7
|
Project-URL: Issue Tracker, https://github.com/MurineShiftWork/murineshiftwork/issues
|
|
8
8
|
Author-email: "Lars B. Rollik" <lars@rollik.me>
|
|
9
|
-
License:
|
|
9
|
+
License: BSD-3-Clause-NonCommercial
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
non-commercial research or academic purposes only, subject to the following
|
|
14
|
-
conditions:
|
|
11
|
+
Copyright (c) 2020-present, Lars B. Rollik.
|
|
12
|
+
All rights reserved.
|
|
15
13
|
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
Redistribution and use in source and binary forms, with or without
|
|
15
|
+
modification, are permitted for NON-COMMERCIAL research, academic, and
|
|
16
|
+
educational purposes only, provided that the following conditions are met:
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
1. Redistributions of source code must retain the above copyright notice,
|
|
19
|
+
this list of conditions and the following disclaimer.
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
or received, including commercial products and commercial services.
|
|
21
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
22
|
+
this list of conditions and the following disclaimer in the documentation
|
|
23
|
+
and/or other materials provided with the distribution.
|
|
26
24
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
3. Neither the name of the copyright holder nor the names of its contributors
|
|
26
|
+
may be used to endorse or promote products derived from this software
|
|
27
|
+
without specific prior written permission.
|
|
30
28
|
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
4. Any use of this software or its derivatives for COMMERCIAL purposes -
|
|
30
|
+
including sale, paid licensing, or providing paid services built on it -
|
|
31
|
+
requires a separate commercial licence. Contact lars@rollik.me.
|
|
33
32
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
34
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
35
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
36
|
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
37
|
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
38
|
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
39
|
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
40
|
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
41
|
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
42
|
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
43
|
+
POSSIBILITY OF SUCH DAMAGE.
|
|
40
44
|
License-File: LICENSE
|
|
45
|
+
Classifier: License :: Free for non-commercial use
|
|
41
46
|
Requires-Python: <3.14,>=3.12
|
|
42
47
|
Requires-Dist: ipython>=9.14.1
|
|
43
|
-
Requires-Dist: msw-core>=0.
|
|
48
|
+
Requires-Dist: msw-core>=0.15.0
|
|
44
49
|
Requires-Dist: msw-io>=1.10.0
|
|
45
50
|
Requires-Dist: plotly>=5.0
|
|
46
51
|
Requires-Dist: pyarrow>=24.0.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.16.2
|
|
@@ -8,12 +8,15 @@ dynamic = ["version"]
|
|
|
8
8
|
description = "Behaviour acquisition framework for standardised, scalable experiments."
|
|
9
9
|
readme = { file = "README.md", content-type = "text/markdown" }
|
|
10
10
|
license = { file = "LICENSE" }
|
|
11
|
+
classifiers = [
|
|
12
|
+
"License :: Free for non-commercial use",
|
|
13
|
+
]
|
|
11
14
|
authors = [
|
|
12
15
|
{ name = "Lars B. Rollik", email = "lars@rollik.me" },
|
|
13
16
|
]
|
|
14
17
|
requires-python = ">=3.12,<3.14"
|
|
15
18
|
dependencies = [
|
|
16
|
-
"msw-core>=0.
|
|
19
|
+
"msw-core>=0.15.0",
|
|
17
20
|
"msw-io>=1.10.0",
|
|
18
21
|
"tqdm",
|
|
19
22
|
"plotly>=5.0",
|
|
@@ -141,7 +144,7 @@ include = [
|
|
|
141
144
|
[tool.commitizen]
|
|
142
145
|
name = "cz_conventional_commits"
|
|
143
146
|
version_provider = "commitizen"
|
|
144
|
-
version = "2.16.
|
|
147
|
+
version = "2.16.2"
|
|
145
148
|
tag_format = "v$version"
|
|
146
149
|
update_changelog_on_bump = false
|
|
147
150
|
version_files = ["VERSION"]
|
|
@@ -265,7 +265,11 @@ class TestBpodDevice:
|
|
|
265
265
|
MockFactory.return_value = MagicMock()
|
|
266
266
|
dev.connect()
|
|
267
267
|
MockFactory.assert_called_once_with(
|
|
268
|
-
serial_port=str(port),
|
|
268
|
+
serial_port=str(port),
|
|
269
|
+
workspace_path=None,
|
|
270
|
+
session_name=None,
|
|
271
|
+
connect_retries=5,
|
|
272
|
+
retry_delay_s=0.1,
|
|
269
273
|
)
|
|
270
274
|
|
|
271
275
|
|
|
@@ -285,7 +285,7 @@ def test_preflight_fails_on_bad_bpod_port(tmp_path):
|
|
|
285
285
|
preflight_hardware_check as _preflight_hardware_check,
|
|
286
286
|
)
|
|
287
287
|
|
|
288
|
-
with pytest.raises(RuntimeError, match="
|
|
288
|
+
with pytest.raises(RuntimeError, match="bpod serial port not accessible"):
|
|
289
289
|
_preflight_hardware_check(
|
|
290
290
|
{
|
|
291
291
|
"debug": False,
|
|
@@ -358,7 +358,7 @@ def test_preflight_collects_multiple_errors(tmp_path):
|
|
|
358
358
|
}
|
|
359
359
|
)
|
|
360
360
|
msg = str(exc_info.value)
|
|
361
|
-
assert "
|
|
361
|
+
assert "bpod" in msg
|
|
362
362
|
assert "Camera" in msg
|
|
363
363
|
|
|
364
364
|
|
murineshiftwork-2.16.1/LICENSE
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2020-present Lars B. Rollik. All rights reserved.
|
|
2
|
-
|
|
3
|
-
Permission is granted, free of charge, to use, copy, modify, and distribute
|
|
4
|
-
this software and associated documentation files (the "Software") for
|
|
5
|
-
non-commercial research or academic purposes only, subject to the following
|
|
6
|
-
conditions:
|
|
7
|
-
|
|
8
|
-
1. This copyright notice and permission notice must be included in all copies
|
|
9
|
-
or substantial portions of the Software.
|
|
10
|
-
|
|
11
|
-
2. Any publication, presentation, or product that uses or builds upon the
|
|
12
|
-
Software must give clear attribution to the original work and its authors.
|
|
13
|
-
|
|
14
|
-
3. Commercial use is prohibited without a separate written commercial licence
|
|
15
|
-
agreement with the copyright holder. Commercial use means incorporation of
|
|
16
|
-
the Software into anything for which fees or other compensation are charged
|
|
17
|
-
or received, including commercial products and commercial services.
|
|
18
|
-
|
|
19
|
-
4. No patent licence, express or implied, is granted under these terms. Any
|
|
20
|
-
use that would require a patent licence from the copyright holder requires
|
|
21
|
-
a separate written agreement.
|
|
22
|
-
|
|
23
|
-
5. Redistribution, in source or binary form, is permitted only for
|
|
24
|
-
non-commercial purposes and must retain this notice unmodified.
|
|
25
|
-
|
|
26
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
27
|
-
IMPLIED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM,
|
|
28
|
-
DAMAGES, OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION WITH THE
|
|
29
|
-
SOFTWARE OR THE USE OR DEALINGS IN THE SOFTWARE.
|
|
30
|
-
|
|
31
|
-
For commercial or patent licensing enquiries contact: lars@rollik.me
|
murineshiftwork-2.16.1/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.16.1
|
|
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
|
|
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
|