Skip to content

Commit cacd79f

Browse files
Merge pull request #222 from AllenNeuralDynamics/seanf
Fixed missing transformer transpose helper in detection
2 parents a22e876 + a135bf7 commit cacd79f

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Rhapso/detection/view_transform_models.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ def _parse_affine_3x4(affine_text: Any, *, view_id: str) -> np.ndarray:
4141
m[:3, :4] = vals.reshape(3, 4)
4242
return m
4343

44+
def _view_id(self, timepoint: Any, setup: Any) -> str:
45+
return f"timepoint: {timepoint}, setup: {setup}"
46+
4447
def compose_all_view_transforms(self) -> None:
4548
"""
4649
Compose a per-view 4x4 by chaining all affine transforms in order.

Rhapso/pipelines/ray/local/alignment_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
ray.init()
1010

1111
# Point to param file
12-
with open("Rhapso/pipelines/ray/param/alignment/HCR_831986.yml", "r") as file:
12+
with open("Rhapso/pipelines/ray/param/alignment/exaSPIM_720164.yml", "r") as file:
1313
config = yaml.safe_load(file)
1414

1515
# -- INITIALIZE EACH COMPONENT --

0 commit comments

Comments
 (0)