Skip to content

Commit

Permalink
use str(...) instead of .as_posix()
Browse files Browse the repository at this point in the history
  • Loading branch information
thaiminhpv committed Oct 25, 2024
1 parent 9ba2b1d commit bf092cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swebench/inference/make_datasets/create_text_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def main(
if output_file.exists():
logger.info(f"{output_file.absolute().as_posix()} already exists. Aborting")
return
output_file = output_file.as_posix()
output_file = str(output_file)
if Path(dataset_name_or_path).exists():
dataset = load_from_disk(dataset_name_or_path)
else:
Expand Down

0 comments on commit bf092cc

Please sign in to comment.