Skip to content

Commit

Permalink
Merge pull request #21 from EuanPyle/tuple_fix
Browse files Browse the repository at this point in the history
Tuple Fix
  • Loading branch information
EuanPyle authored Jun 1, 2022
2 parents cb56b1a + fba060b commit 257a58e
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 257a58e

Please sign in to comment.