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.
Files changed (85) hide show
  1. {genie_python-25.2.0/src/genie_python.egg-info → genie_python-25.2.1}/PKG-INFO +1 -1
  2. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/_version.py +2 -2
  3. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie.py +2 -2
  4. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_experimental_data.py +11 -11
  5. {genie_python-25.2.0 → genie_python-25.2.1/src/genie_python.egg-info}/PKG-INFO +1 -1
  6. {genie_python-25.2.0 → genie_python-25.2.1}/.git-blame-ignore-revs +0 -0
  7. {genie_python-25.2.0 → genie_python-25.2.1}/.gitattributes +0 -0
  8. {genie_python-25.2.0 → genie_python-25.2.1}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  9. {genie_python-25.2.0 → genie_python-25.2.1}/.github/dependabot.yml +0 -0
  10. {genie_python-25.2.0 → genie_python-25.2.1}/.github/workflows/documentation.yml +0 -0
  11. {genie_python-25.2.0 → genie_python-25.2.1}/.github/workflows/lint_and_test.yml +0 -0
  12. {genie_python-25.2.0 → genie_python-25.2.1}/.github/workflows/release.yml +0 -0
  13. {genie_python-25.2.0 → genie_python-25.2.1}/.gitignore +0 -0
  14. {genie_python-25.2.0 → genie_python-25.2.1}/LICENSE +0 -0
  15. {genie_python-25.2.0 → genie_python-25.2.1}/README.md +0 -0
  16. {genie_python-25.2.0 → genie_python-25.2.1}/doc/conf.py +0 -0
  17. {genie_python-25.2.0 → genie_python-25.2.1}/doc/genie_python.rst +0 -0
  18. {genie_python-25.2.0 → genie_python-25.2.1}/pyproject.toml +0 -0
  19. {genie_python-25.2.0 → genie_python-25.2.1}/ruff.toml +0 -0
  20. {genie_python-25.2.0 → genie_python-25.2.1}/setup.cfg +0 -0
  21. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/.pylintrc +0 -0
  22. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/__init__.py +0 -0
  23. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/block_names.py +0 -0
  24. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/channel_access_exceptions.py +0 -0
  25. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_advanced.py +0 -0
  26. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_alerts.py +0 -0
  27. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_api_setup.py +0 -0
  28. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_blockserver.py +0 -0
  29. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_cachannel_wrapper.py +0 -0
  30. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_change_cache.py +0 -0
  31. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_dae.py +0 -0
  32. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_epics_api.py +0 -0
  33. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_logging.py +0 -0
  34. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_p4p_wrapper.py +0 -0
  35. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_plot.py +0 -0
  36. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_pre_post_cmd_manager.py +0 -0
  37. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_pv_connection_protocol.py +0 -0
  38. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_script_checker.py +0 -0
  39. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_script_generator.py +0 -0
  40. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_simulate.py +0 -0
  41. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_simulate_impl.py +0 -0
  42. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_startup.py +0 -0
  43. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_toggle_settings.py +0 -0
  44. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_wait_for_move.py +0 -0
  45. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/genie_waitfor.py +0 -0
  46. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/matplotlib_backend/__init__.py +0 -0
  47. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/matplotlib_backend/ibex_websocket_backend.py +0 -0
  48. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/mysql_abstraction_layer.py +0 -0
  49. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/scanning_instrument_pylint_plugin.py +0 -0
  50. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/testing_utils/__init__.py +0 -0
  51. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/testing_utils/script_checker.py +0 -0
  52. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/typings/CaChannel/CaChannel.pyi +0 -0
  53. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/typings/CaChannel/__init__.pyi +0 -0
  54. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/typings/CaChannel/_version.pyi +0 -0
  55. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/typings/CaChannel/ca.pyi +0 -0
  56. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/utilities.py +0 -0
  57. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python/version.py +0 -0
  58. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python.egg-info/SOURCES.txt +0 -0
  59. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python.egg-info/dependency_links.txt +0 -0
  60. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python.egg-info/requires.txt +0 -0
  61. {genie_python-25.2.0 → genie_python-25.2.1}/src/genie_python.egg-info/top_level.txt +0 -0
  62. {genie_python-25.2.0 → genie_python-25.2.1}/tests/__init__.py +0 -0
  63. {genie_python-25.2.0 → genie_python-25.2.1}/tests/py3_test_genie_experimental_data.py +0 -0
  64. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_block_names.py +0 -0
  65. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_genie.py +0 -0
  66. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_genie_alerts.py +0 -0
  67. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_genie_api_setup.py +0 -0
  68. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_genie_blockserver_tests.py +0 -0
  69. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_genie_change_cache.py +0 -0
  70. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_genie_dae.py +0 -0
  71. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_genie_epics_api.py +0 -0
  72. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_genie_wait_for_move.py +0 -0
  73. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_genie_waitfor.py +0 -0
  74. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_matplotlib_backend.py +0 -0
  75. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_mysql_abstraction_layer.py +0 -0
  76. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_script_checker.py +0 -0
  77. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_script_generator.py +0 -0
  78. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_scripts/error.py +0 -0
  79. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_scripts/error_for_script_checker.py +0 -0
  80. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_scripts/valid.py +0 -0
  81. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_scripts/valid_python_2.py +0 -0
  82. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_scripts/valid_to_import.py +0 -0
  83. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_simulation.py +0 -0
  84. {genie_python-25.2.0 → genie_python-25.2.1}/tests/test_utilities.py +0 -0
  85. {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.0
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>
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '25.2.0'
16
- __version_tuple__ = version_tuple = (25, 2, 0)
15
+ __version__ = version = '25.2.1'
16
+ __version_tuple__ = version_tuple = (25, 2, 1)
@@ -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: str,
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: bool | int | float | str | None,
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
- """ t.startDate, e.duration FROM `experimentteams` t
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'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'
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'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"]}'
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.0
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