Skip to content

Commit 4308e9b

Browse files
authored
fixed typo
1 parent 258aa70 commit 4308e9b

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

bin/predict.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
logging.basicConfig(level=logging.INFO, format=logging_format)
3434

3535
if args.model not in list(string.ascii_lowercase)[:11]:
36-
raise ValueError(f'Model only range from a -- j.')
36+
raise ValueError(f'Model only range from a -- k.')
3737

3838
if args.gpu_id >= 0:
3939
os.environ["CUDA_VISIBLE_DEVICES"] = f'{args.gpu_id}'
@@ -46,9 +46,6 @@
4646
else:
4747
use_multiprocessing = False
4848

49-
if args.model not in list(string.ascii_lowercase)[:11]:
50-
raise ValueError(f'Model only range from a -- j.')
51-
5249
cands_to_eval = glob.glob(f'{args.data_dir}/*h5')
5350

5451
if len(cands_to_eval) == 0:

0 commit comments

Comments
 (0)