Skip to content

Commit

Permalink
Add missing parse_args from previous bad merge (#241)
Browse files Browse the repository at this point in the history
* Add missing parse_args from previous bad merge

* Test torchmd-train in CI
  • Loading branch information
RaulPPelaez authored Nov 20, 2023
1 parent be6a214 commit 0275e54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@ jobs:
- name: Run tests
run: pytest -v -s

- name: Test torchmd-train utility
run: torchmd-train --help

4 changes: 2 additions & 2 deletions torchmdnet/scripts/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ def get_argparse():

def get_args():

args = get_argparse()

parser = get_argparse()
args = parser.parse_args()
if args.redirect:
sys.stdout = open(os.path.join(args.log_dir, "log"), "w")
sys.stderr = sys.stdout
Expand Down

0 comments on commit 0275e54

Please sign in to comment.