Skip to content

Commit 07ca215

Browse files
committed
Merged recent changes from 'main' branch
2 parents fa11f39 + f953929 commit 07ca215

File tree

14 files changed

+84
-24
lines changed

14 files changed

+84
-24
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.17.4"
2+
current_version = "0.17.5"
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.17.4"
2+
current_version = "0.17.5"
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.17.4
4+
version: 0.17.5
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.17.4
4+
version: 0.17.5
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.17.4
4+
version: 0.17.5
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.17.4
4+
version: 0.17.5

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ requires = [
77

88
[project]
99
name = "murfey"
10-
version = "0.17.4"
10+
version = "0.17.5"
1111
description = "Client-Server architecture hauling Cryo-EM data"
1212
readme = "README.md"
1313
keywords = [

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.17.4"
4-
__supported_client_version__ = "0.17.4"
3+
__version__ = "0.17.5"
4+
__supported_client_version__ = "0.17.5"

src/murfey/client/contexts/spa_metadata.py

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -271,20 +271,8 @@ def post_transfer(
271271
transferred_file,
272272
int(gs_name),
273273
)
274-
metadata_source_as_str = (
275-
"/".join(source.parts[:-2])
276-
+ f"/{environment.visit}/"
277-
+ source.parts[-2]
278-
)
279-
metadata_source = Path(
280-
metadata_source_as_str[1:]
281-
if metadata_source_as_str.startswith("//")
282-
else metadata_source_as_str
283-
)
284274
image_path = (
285-
_file_transferred_to(
286-
environment, metadata_source, Path(gs_info.image)
287-
)
275+
_file_transferred_to(environment, source, Path(gs_info.image))
288276
if gs_info.image
289277
else ""
290278
)

src/murfey/client/customlogging.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ def prepare(self, record):
2020
self.format(record)
2121
record_dict = record.__dict__
2222
record_dict["type"] = "log"
23-
return json.dumps(record_dict)
23+
try:
24+
return json.dumps(record_dict)
25+
except TypeError:
26+
return json.dumps({str(k): str(v) for k, v in record_dict.items})
2427

2528
def emit(self, record):
2629
try:

0 commit comments

Comments
 (0)