Skip to content

Commit

Permalink
fix back compatibilit for DIST
Browse files Browse the repository at this point in the history
  • Loading branch information
RRobert92 committed Jul 2, 2023
1 parent 0863943 commit 2db4479
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tardis_pytorch/utils/predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ def __init__(
self,
predict: str,
dir_: str,
checkpoint: list,
feature_size: Optional[float],
output_format: str,
patch_size: int,
cnn_threshold: float,
Expand All @@ -91,6 +89,8 @@ def __init__(
instances: bool,
device_: str,
debug: bool,
checkpoint: Optional[list] = None,
feature_size: Optional[float] = None,
):
if predict not in ["Filament", "Membrane2D", "Membrane", "Microtubule"]:
TardisError(
Expand Down

0 comments on commit 2db4479

Please sign in to comment.