mirror of
https://github.com/deepmodeling/Uni-Lab-OS
synced 2026-03-26 06:03:07 +00:00
新增注册表补全功能,修复Protocol执行失败
This commit is contained in:
@@ -65,6 +65,8 @@ def get_yaml_from_goal_type(goal_type) -> str:
|
||||
Returns:
|
||||
str: 默认Goal参数的YAML格式字符串
|
||||
"""
|
||||
if isinstance(goal_type, str):
|
||||
return "{}"
|
||||
if not goal_type:
|
||||
return "{}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user