Skip to content

Commit

Permalink
Update run_evaluation.py
Browse files Browse the repository at this point in the history
Fix build_dir to absolute path for linking
  • Loading branch information
carlosejimenez authored Jul 18, 2024
1 parent a4dfefc commit aab294a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swebench/harness/run_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def run_instance(
if not image_build_link.exists():
try:
# link the image build dir in the log dir
image_build_link.symlink_to(build_dir, target_is_directory=True)
image_build_link.symlink_to(build_dir.absolute(), target_is_directory=True)
except:
# some error, idk why
pass
Expand Down

0 comments on commit aab294a

Please sign in to comment.