mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-28 16:07:46 +00:00
refactor: use UI_SETTING.amlt_path for combined log folder path (#1184)
This commit is contained in:
@@ -9,7 +9,7 @@ from rdagent.log.ui.conf import UI_SETTING
|
||||
|
||||
def convert_log_folder_str(lf: str) -> str:
|
||||
if "/" not in lf:
|
||||
return f"/data/share_folder_local/amlt/{lf.strip()}/combined_logs"
|
||||
return f"{UI_SETTING.amlt_path}/{lf.strip()}/combined_logs"
|
||||
return lf.strip()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user