We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a4f2cb commit 64649c0Copy full SHA for 64649c0
scripts/smart_dispatch.py
@@ -175,6 +175,10 @@ def _gen_job_paths(jobname):
175
176
177
def get_job_folders(jobname):
178
+ if os.path.isdir(jobname):
179
+ # We assume `jobname` is `path_job` repo, we extract the real `jobname`.
180
+ jobname = os.path.basename(os.path.abspath(jobname))
181
+
182
path_job, path_job_logs, path_job_commands = _gen_job_paths(jobname)
183
184
if not os.path.exists(path_job_commands):
0 commit comments