Skip to content

Commit

Permalink
Update predictor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RRobert92 committed Dec 28, 2024
1 parent 0cf1831 commit dba1c9f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tardis_em/utils/predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import time
from datetime import datetime
from os import listdir, getcwd
from os.path import isdir, isfile, join, dirname
from os.path import isdir, isfile, join
from typing import Optional, Union
import platform

Expand Down Expand Up @@ -1140,10 +1140,7 @@ def get_file_list(self):
# Check if there is anything to predict in the user-indicated folder
msg = f"Given {self.dir} does not contain any recognizable file!"
assert_b = len(self.predict_list) == 0
print(self.predict_list)
print(len(self.predict_list))
sys.exit()


if self.tardis_logo and self.tardis_progress is not None:
if assert_b:
TardisError(
Expand Down

0 comments on commit dba1c9f

Please sign in to comment.