Skip to content

Commit

Permalink
update to use abs run_dir paths by default (#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
rayg1234 authored Aug 21, 2024
1 parent 3899aac commit df89330
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fairchem/core/common/flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from __future__ import annotations

import argparse
import os
from pathlib import Path


Expand Down Expand Up @@ -48,7 +49,7 @@ def add_core_args(self) -> None:
)
self.parser.add_argument(
"--run-dir",
default="./",
default=os.path.abspath("./"),
type=str,
help="Directory to store checkpoint/log/result directory",
)
Expand Down

0 comments on commit df89330

Please sign in to comment.