Skip to content

Commit 010b6c9

Browse files
authored
Merge pull request #19 from mgiammar/mdg_losen_version_requirements
fix: add minimum requirements for tt* dependencies
2 parents c9783f2 + 1ace2a2 commit 010b6c9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,10 @@ dependencies = [
4747
"types-PyYAML",
4848
"roma",
4949
"tqdm",
50-
"torch-fourier-slice==v0.0.5",
51-
"torch-fourier-filter==v0.2.3",
50+
"torch-fourier-slice>=v0.0.8",
51+
"torch-fourier-filter>=v0.2.3",
5252
"torch-so3>=v0.1.3",
53-
"torch_image_lerp==v0.0.5",
54-
"ttsim3d==v0.2.2",
53+
"ttsim3d>=v0.3.0",
5554
]
5655

5756
[tool.hatch.metadata]

src/leopard_em/pydantic_models/match_template_manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,10 @@ def make_backend_core_function_kwargs(self) -> dict[str, Any]:
188188

189189
# Calculate the CTF filters at each defocus value
190190
defocus_values = self.defocus_search_config.defocus_values
191+
191192
# set pixel search to 0.0 for match template
192193
pixel_size_offsets = torch.tensor([0.0], dtype=torch.float32)
193-
print(f"ctf_B_factor: {self.optics_group.ctf_B_factor}")
194+
194195
ctf_filters = calculate_ctf_filter_stack(
195196
pixel_size=self.optics_group.pixel_size,
196197
template_shape=(template_shape[0], template_shape[0]),

0 commit comments

Comments
 (0)