Skip to content

Commit 0dd91d8

Browse files
committed
Update smart_dispatch.py
Removed a old check that is now unnecessary in the parser function.
1 parent d3298cb commit 0dd91d8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/smart_dispatch.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,6 @@ def parse_arguments():
152152
parser.error("You need to specify a command to launch.")
153153
if args.queueName not in AVAILABLE_QUEUES and ((args.coresPerNode is None and args.gpusPerNode is None) or args.walltime is None):
154154
parser.error("Unknown queue, --coresPerNode/--gpusPerNode and --walltime must be set.")
155-
else:
156-
if args.pool is None:
157-
resume_parser.error("The resume feature only works with the --pool argument.")
158155

159156
return args
160157

0 commit comments

Comments
 (0)