Skip to content

Commit 1ca3091

Browse files
committed
Merge branch 'main' into flush-test
2 parents e81d16d + 153719e commit 1ca3091

File tree

7 files changed

+10
-9
lines changed

7 files changed

+10
-9
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.16.5"
2+
current_version = "0.16.6"
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.16.5"
2+
current_version = "0.16.6"
33
commit = true
44
tag = true
55

pyproject.toml

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

88
[project]
99
name = "murfey"
10-
version = "0.16.5"
10+
version = "0.16.6"
1111
description = "Client-Server architecture hauling Cryo-EM data"
1212
readme = "README.md"
1313
keywords = [
@@ -36,6 +36,7 @@ dependencies = [
3636
"requests",
3737
"rich",
3838
"werkzeug",
39+
"xmltodict",
3940
]
4041
[project.optional-dependencies]
4142
cicd = [
@@ -44,7 +45,6 @@ cicd = [
4445
client = [
4546
"textual==0.42.0",
4647
"websocket-client",
47-
"xmltodict",
4848
]
4949
developer = [
5050
"bump-my-version<0.11.0", # Version control

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.16.5"
4-
__supported_client_version__ = "0.16.5"
3+
__version__ = "0.16.6"
4+
__supported_client_version__ = "0.16.6"

src/murfey/client/contexts/spa_metadata.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@ def post_transfer(
162162
}
163163
capture_post(url, json=dcg_data)
164164
gs_pix_positions = get_grid_square_atlas_positions(
165-
_atlas_destination(environment, source, transferred_file)
166-
/ environment.samples[source].atlas
165+
source_visit_dir / environment.visit / partial_path
167166
)
168167
for gs, pos_data in gs_pix_positions.items():
169168
if pos_data:

src/murfey/util/spa_metadata.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ def foil_hole_data(xml_path: Path, foil_hole: int, grid_square: int) -> FoilHole
157157
serialization_array = data["TargetLocations"]["TargetLocationsEfficient"][
158158
"a:m_serializationArray"
159159
]
160+
if len(serialization_array.keys()) == 0:
161+
return FoilHoleInfo(id=foil_hole, grid_square_id=grid_square)
160162
for key in serialization_array.keys():
161163
if key.startswith("b:KeyValuePairOfintTargetLocation"):
162164
required_key = key

src/murfey/workflows/spa/flush_spa_preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def flush_spa_preprocess(message: dict, murfey_db: Session, demo: bool = False)
352352
# Register grid square and foil hole if not present
353353
try:
354354
foil_hole_id = _flush_position_analysis(
355-
movie_path=f.file_path,
355+
movie_path=Path(f.file_path),
356356
dcg_id=collected_ids[0].id,
357357
session_id=session_id,
358358
murfey_db=murfey_db,

0 commit comments

Comments
 (0)