mirror of
https://github.com/clearml/clearml
synced 2025-04-30 19:15:24 +00:00
Fix pipeline crash when repo is set to a directory
This commit is contained in:
parent
01af13a294
commit
0efdd35b00
@ -231,7 +231,7 @@ class CreateAndPopulate(object):
|
|||||||
repo_info.script["diff"] = a_repo_info.script["diff"] or ""
|
repo_info.script["diff"] = a_repo_info.script["diff"] or ""
|
||||||
repo_info.script["entry_point"] = a_repo_info.script["entry_point"]
|
repo_info.script["entry_point"] = a_repo_info.script["entry_point"]
|
||||||
if a_create_requirements:
|
if a_create_requirements:
|
||||||
repo_info["requirements"] = a_repo_info.script.get("requirements") or {}
|
repo_info.script["requirements"] = a_repo_info.script.get("requirements") or {}
|
||||||
|
|
||||||
# check if we have no repository and no requirements raise error
|
# check if we have no repository and no requirements raise error
|
||||||
if (
|
if (
|
||||||
|
Loading…
Reference in New Issue
Block a user