Skip to content

Commit

Permalink
Tuple Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EuanPyle committed Jun 1, 2022
1 parent cb56b1a commit fba060b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lil_aretomo/aretomo.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pathlib import Path
from typing import List, Optional
from typing import List, Optional, Tuple
from rich.console import Console

from .utils import (
Expand All @@ -20,7 +20,7 @@ def run_aretomo_alignment(
local_align: Optional[bool] = False,
target_pixel_size: Optional[float] = 10,
nominal_rotation_angle: Optional[float] = None,
n_patches_xy: Optional[tuple[int, int]] = (5, 4),
n_patches_xy: Optional[Tuple[int, int]] = (5, 4),
thickness_for_alignment: Optional[float] = 800,
correct_tilt_angle_offset: Optional[bool] = False
):
Expand Down
4 changes: 2 additions & 2 deletions lil_aretomo/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import shutil
import subprocess
from pathlib import Path
from typing import List
from typing import List, Tuple

import numpy as np

Expand Down Expand Up @@ -32,7 +32,7 @@ def align_tilt_series_aretomo(
aretomo_executable: Path,
nominal_rotation_angle: bool or float,
local_alignments: bool,
n_patches_xy: tuple[int, int],
n_patches_xy: Tuple[int, int],
thickness_for_alignment: float,
correct_tilt_angle_offset: bool
):
Expand Down

0 comments on commit fba060b

Please sign in to comment.