Skip to content

Commit 82ee1b1

Browse files
committed
Merge branch 'main' into tomo-metadata
2 parents 893785e + 4d783a7 commit 82ee1b1

File tree

30 files changed

+153
-105
lines changed

30 files changed

+153
-105
lines changed

.bumpclient.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.bumpversion]
2-
current_version = "0.18.2"
2+
current_version = "0.19.0"
33
commit = true
44
tag = false
55

.bumpversion.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.bumpversion]
2-
current_version = "0.18.2"
2+
current_version = "0.19.0"
33
commit = true
44
tag = true
55

Helm/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
name: murfey-services
33
description: Umbrella Helm chart for deploying the servers and daemons needed to enable Murfey to transfer and process data
4-
version: 0.18.2
4+
version: 0.19.0
55
dependencies:
66
- name: murfey-instrument-server-clem
77
- name: murfey-instrument-server-tem
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v1
22
name: murfey-instrument-server-clem
33
description: Helm chart for deploying a Murfey instrument server, which executes orders to detect, modify, and transfer files on the instrument PC, and notifies the backend server about transferred files
4-
version: 0.18.2
4+
version: 0.19.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v1
22
name: murfey-instrument-server-tem
33
description: Helm chart for deploying a Murfey instrument server, which executes orders to detect, modify, and transfer files on the instrument PC, and notifies the backend server about transferred files
4-
version: 0.18.2
4+
version: 0.19.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v1
22
name: murfey-rsync
33
description: Helm chart for deploying an rsync daemon, which is responsible for executing the transfer of files from the client storage directory to the server storage system
4-
version: 0.18.2
4+
version: 0.19.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v1
22
name: murfey-server
33
description: Helm chart for deploying a Murfey backend server, which is responsible for orchestrating the data transfer and processing workflow between the client PC and the storage system
4-
version: 0.18.2
4+
version: 0.19.0

pyproject.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ requires = [
77

88
[project]
99
name = "murfey"
10-
version = "0.18.2"
10+
version = "0.19.0"
1111
description = "Client-Server architecture hauling Cryo-EM data"
1212
readme = "README.md"
1313
keywords = [
@@ -32,7 +32,8 @@ classifiers = [
3232
dependencies = [
3333
"backports.entry_points_selectable",
3434
"defusedxml", # For safely parsing XML files
35-
"pydantic<2", # Locked to <2 by cygwin terminal
35+
"pydantic>=2",
36+
"pydantic-settings",
3637
"requests",
3738
"rich",
3839
"werkzeug",
@@ -47,7 +48,7 @@ client = [
4748
"websocket-client",
4849
]
4950
developer = [
50-
"bump-my-version<0.11.0", # Version control
51+
"bump-my-version", # Version control
5152
"ipykernel", # Enable interactive coding with VS Code and Jupyter Notebook
5253
"pre-commit", # Formatting, linting, type checking, etc.
5354
"pytest", # Test code functionality
@@ -61,7 +62,7 @@ server = [
6162
"aiohttp",
6263
"cryptography",
6364
"fastapi[standard]",
64-
"ispyb", # Responsible for setting requirements for SQLAlchemy and mysql-connector-python; v10.0.0: sqlalchemy <2, mysql-connector-python >=8.0.32
65+
"ispyb>=10.2.4", # Responsible for setting requirements for SQLAlchemy and mysql-connector-python;
6566
"jinja2",
6667
"mrcfile",
6768
"numpy<2",
@@ -73,7 +74,7 @@ server = [
7374
"sqlalchemy[postgresql]", # Add as explicit dependency
7475
"sqlmodel",
7576
"stomp-py<=8.1.0", # 8.1.1 (released 2024-04-06) doesn't work with our project
76-
"zocalo",
77+
"zocalo>=1",
7778
]
7879
[project.urls]
7980
Bug-Tracker = "https://github.com/DiamondLightSource/python-murfey/issues"

src/murfey/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from __future__ import annotations
22

3-
__version__ = "0.18.2"
4-
__supported_client_version__ = "0.18.2"
3+
__version__ = "0.19.0"
4+
__supported_client_version__ = "0.19.0"

src/murfey/client/analyser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def _analyse(self):
261261
valid_extension = self._find_extension(transferred_file)
262262
if not valid_extension:
263263
logger.error(f"No extension found for {transferred_file}")
264-
break
264+
continue
265265
found = self._find_context(transferred_file)
266266
if not found:
267267
logger.debug(
@@ -332,7 +332,7 @@ def _analyse(self):
332332
valid_extension = self._find_extension(transferred_file)
333333
if not valid_extension:
334334
logger.error(f"No extension found for {transferred_file}")
335-
break
335+
continue
336336
if self._extension:
337337
logger.info(
338338
f"Extension found successfully for {transferred_file}"

0 commit comments

Comments
 (0)