You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
), f"symlink_fpath ({symlink_fpath}) seems to point to *another* symlink. This is difficult to handle, so it is currently disallowed. Please resolve this situation manually."
135
135
136
136
# If the file doesn't exist, we'll just ignore it.
137
-
ifnotreal_fordpath.exists():
137
+
ifnotreal_path.exists():
138
138
continue
139
139
# We're only trying to figure out which direct children of task_runs/ to save. If the file isn't
The task_runs/ folder is organized like task_runs/run_*/[codebase]/[org]/any/path/you/want.
568
568
This function extracts the [codebase] and [org] components
569
569
"""
570
-
assertisinstance(task_run_fordpath, Path)
571
-
assertnottask_run_fordpath.is_symlink()
572
-
parent_dpath=task_run_fordpath.parent
570
+
assertisinstance(task_run_path, Path)
571
+
assertnottask_run_path.is_symlink()
572
+
parent_dpath=task_run_path.parent
573
573
# TODO(phw2): make this a common function
574
574
assertnotparent_dpath.samefile(
575
575
dbgym_workspace.dbgym_runs_path
576
-
), f"task_run_fordpath ({task_run_fordpath}) should be inside a run_*/ dir instead of directly in dbgym_workspace.dbgym_runs_path ({dbgym_workspace.dbgym_runs_path})"
576
+
), f"task_run_path ({task_run_path}) should be inside a run_*/ dir instead of directly in dbgym_workspace.dbgym_runs_path ({dbgym_workspace.dbgym_runs_path})"
), f"task_run_fordpath ({task_run_fordpath}) should be inside a run_*/[codebase]/ dir instead of directly in run_*/ ({dbgym_workspace.dbgym_runs_path})"
579
+
), f"task_run_path ({task_run_path}) should be inside a run_*/[codebase]/ dir instead of directly in run_*/ ({dbgym_workspace.dbgym_runs_path})"
), f"task_run_fordpath ({task_run_fordpath}) should be inside a run_*/[codebase]/[organization]/ dir instead of directly in run_*/ ({dbgym_workspace.dbgym_runs_path})"
583
-
# org_dpath is the run_*/[codebase]/[organization]/ dir that task_run_fordpath is in
582
+
), f"task_run_path ({task_run_path}) should be inside a run_*/[codebase]/[organization]/ dir instead of directly in run_*/ ({dbgym_workspace.dbgym_runs_path})"
583
+
# org_dpath is the run_*/[codebase]/[organization]/ dir that task_run_path is in
0 commit comments