Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH]: Introduce get_template for getting templates #298

Merged
merged 10 commits into from
Feb 9, 2024
Prev Previous commit
Next Next commit
chore: improve logging for get_template()
  • Loading branch information
synchon committed Feb 9, 2024
commit e829bd73fb02e605e3ae73db6f1b6522c4590dc7
1 change: 1 addition & 0 deletions junifer/data/template_spaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ def get_template(
target_img = target_data["data"]
resolution = np.min(target_img.header.get_zooms()[:3]).astype(int)

logger.info(f"Downloading template {space} in resolution {resolution}")
# Retrieve template
try:
template_path = tflow.get(
synchon marked this conversation as resolved.
Show resolved Hide resolved
Expand Down