genie-python 25.2.0__tar.gz → 25.2.1__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.
- {genie_python-25.2.0/src/genie_python.egg-info → genie_python-25.2.1}/PKG-INFO +1 -1
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/_version.py +2 -2
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie.py +2 -2
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_experimental_data.py +11 -11
- {genie_python-25.2.0 → genie_python-25.2.1/src/genie_python.egg-info}/PKG-INFO +1 -1
- {genie_python-25.2.0 → genie_python-25.2.1}/.git-blame-ignore-revs +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/.gitattributes +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/.github/dependabot.yml +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/.github/workflows/documentation.yml +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/.github/workflows/lint_and_test.yml +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/.github/workflows/release.yml +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/.gitignore +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/LICENSE +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/README.md +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/doc/conf.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/doc/genie_python.rst +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/pyproject.toml +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/ruff.toml +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/setup.cfg +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/.pylintrc +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/__init__.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/block_names.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/channel_access_exceptions.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_advanced.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_alerts.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_api_setup.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_blockserver.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_cachannel_wrapper.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_change_cache.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_dae.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_epics_api.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_logging.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_p4p_wrapper.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_plot.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_pre_post_cmd_manager.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_pv_connection_protocol.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_script_checker.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_script_generator.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_simulate.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_simulate_impl.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_startup.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_toggle_settings.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_wait_for_move.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_waitfor.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/matplotlib_backend/__init__.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/matplotlib_backend/ibex_websocket_backend.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/mysql_abstraction_layer.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/scanning_instrument_pylint_plugin.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/testing_utils/__init__.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/testing_utils/script_checker.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/typings/CaChannel/CaChannel.pyi +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/typings/CaChannel/__init__.pyi +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/typings/CaChannel/_version.pyi +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/typings/CaChannel/ca.pyi +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/utilities.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/version.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python.egg-info/SOURCES.txt +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python.egg-info/dependency_links.txt +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python.egg-info/requires.txt +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python.egg-info/top_level.txt +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/__init__.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/py3_test_genie_experimental_data.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_block_names.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_genie.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_genie_alerts.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_genie_api_setup.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_genie_blockserver_tests.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_genie_change_cache.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_genie_dae.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_genie_epics_api.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_genie_wait_for_move.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_genie_waitfor.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_matplotlib_backend.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_mysql_abstraction_layer.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_script_checker.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_script_generator.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_scripts/error.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_scripts/error_for_script_checker.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_scripts/valid.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_scripts/valid_python_2.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_scripts/valid_to_import.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_simulation.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_utilities.py +0 -0
- {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_utils_with_unicode_literals.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: genie_python
|
|
3
|
-
Version: 25.2.
|
|
3
|
+
Version: 25.2.1
|
|
4
4
|
Summary: Instrument control & scripting for the ISIS Neutron & Muon source
|
|
5
5
|
Author-email: ISIS Experiment Controls <ISISExperimentControls@stfc.ac.uk>
|
|
6
6
|
Maintainer-email: ISIS Experiment Controls <ISISExperimentControls@stfc.ac.uk>
|
|
@@ -114,13 +114,13 @@ def get_block_units(block_name: str) -> str | dict | None:
|
|
|
114
114
|
@helparglist("...")
|
|
115
115
|
@log_command_and_handle_exception
|
|
116
116
|
def cset(
|
|
117
|
-
*args:
|
|
117
|
+
*args: PVValue,
|
|
118
118
|
runcontrol: bool | None = None,
|
|
119
119
|
lowlimit: float | None = None,
|
|
120
120
|
highlimit: float | None = None,
|
|
121
121
|
wait: bool | None = None,
|
|
122
122
|
verbose: bool | None = None,
|
|
123
|
-
**kwargs:
|
|
123
|
+
**kwargs: PVValue,
|
|
124
124
|
) -> None:
|
|
125
125
|
"""
|
|
126
126
|
Sets the setpoint and runcontrol settings for blocks.
|
|
@@ -7,8 +7,8 @@ from typing import TypedDict
|
|
|
7
7
|
from genie_python.mysql_abstraction_layer import SQLAbstraction
|
|
8
8
|
|
|
9
9
|
SELECT_FOR_EXP_DETAILS = """
|
|
10
|
-
SELECT e.experimentID, u.name as userName, r.name as roleName,
|
|
11
|
-
|
|
10
|
+
SELECT e.experimentID, u.name as userName, r.name as roleName,
|
|
11
|
+
t.startDate, e.duration FROM `experimentteams` t
|
|
12
12
|
JOIN experiment e ON e.experimentID = t.experimentID
|
|
13
13
|
JOIN user u ON u.userID = t.userID
|
|
14
14
|
JOIN role r ON r.roleID = t.roleID
|
|
@@ -94,10 +94,10 @@ class GetExperimentData:
|
|
|
94
94
|
self._pretty_print(exp_data)
|
|
95
95
|
else:
|
|
96
96
|
raise NotFoundError(
|
|
97
|
-
f
|
|
98
|
-
f
|
|
99
|
-
f
|
|
100
|
-
f
|
|
97
|
+
f"Found no experiments that match the given criteria "
|
|
98
|
+
f"(RB: {rb if rb != '%' else 'Any'}, "
|
|
99
|
+
f"User: {user if user != '%' else 'Any'}, "
|
|
100
|
+
f"Role: {role if role != '%' else 'Any'}).\n"
|
|
101
101
|
)
|
|
102
102
|
|
|
103
103
|
return exp_data
|
|
@@ -169,11 +169,11 @@ class GetExperimentData:
|
|
|
169
169
|
|
|
170
170
|
for exp in exp_data:
|
|
171
171
|
print(
|
|
172
|
-
f
|
|
173
|
-
f
|
|
174
|
-
f
|
|
175
|
-
f
|
|
176
|
-
f
|
|
172
|
+
f"Experiment RB number: {exp['rb_number']:{rb_padding}} | "
|
|
173
|
+
f"User: {exp['user']:{user_padding}} | "
|
|
174
|
+
f"Role: {exp['role']:{role_padding}} | "
|
|
175
|
+
f"Start date: {exp['start_date']} | "
|
|
176
|
+
f"Duration: {exp['duration']}"
|
|
177
177
|
)
|
|
178
178
|
|
|
179
179
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: genie_python
|
|
3
|
-
Version: 25.2.
|
|
3
|
+
Version: 25.2.1
|
|
4
4
|
Summary: Instrument control & scripting for the ISIS Neutron & Muon source
|
|
5
5
|
Author-email: ISIS Experiment Controls <ISISExperimentControls@stfc.ac.uk>
|
|
6
6
|
Maintainer-email: ISIS Experiment Controls <ISISExperimentControls@stfc.ac.uk>
|
|
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
|
{genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_pv_connection_protocol.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
|
{genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/scanning_instrument_pylint_plugin.py
RENAMED
|
File without changes
|
|
File without changes
|
{genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/testing_utils/script_checker.py
RENAMED
|
File without changes
|
{genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/typings/CaChannel/CaChannel.pyi
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
|