Skip to content

Commit 8abb29c

Browse files
committed
Merge branch 'main' into repost-control-db and fix conflict
2 parents d790def + b6386e4 commit 8abb29c

13 files changed

Lines changed: 89 additions & 64 deletions

File tree

.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.20.2"
2+
current_version = "0.20.3"
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.20.2"
2+
current_version = "0.20.3"
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.20.2
4+
version: 0.20.3
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.20.2
4+
version: 0.20.3
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.20.2
4+
version: 0.20.3
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.20.2
4+
version: 0.20.3
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.20.2
4+
version: 0.20.3

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.20.2"
10+
version = "0.20.3"
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.20.2"
4-
__supported_client_version__ = "0.20.2"
3+
__version__ = "0.20.3"
4+
__supported_client_version__ = "0.20.3"

src/murfey/client/destinations.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,12 @@ def determine_default_destination(
4747
mid_path = source.absolute().relative_to(Path(data_dir).absolute())
4848
if use_suggested_path:
4949
with global_env_lock:
50-
source_name = (
51-
source.name
52-
if source.name != "Images-Disc1"
53-
else source.parent.name
54-
)
50+
if source.name == "Images-Disc1":
51+
source_name = source.parent.name
52+
elif source.name.startswith("Sample"):
53+
source_name = f"{source.parent.name}_{source.name}"
54+
else:
55+
source_name = source.name
5556
if environment.destination_registry.get(source_name):
5657
_default = environment.destination_registry[source_name]
5758
else:

0 commit comments

Comments
 (0)