-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23fb84d
commit e1e996d
Showing
15 changed files
with
38 additions
and
382 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
utils/molecular-dynamics/amber/process-mdout-tool/.gitattributes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.log filter=lfs diff=lfs merge=lfs -text |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
utils/process-mdout-plugin/ict.yml → ...dynamics/amber/process-mdout-tool/ict.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
specVersion: "0.1.0" | ||
name: process_mdout | ||
version: 0.1.0 | ||
container: process-mdout-plugin | ||
container: process-mdout-tool | ||
entrypoint: | ||
title: process_mdout | ||
description: Wrapper of the AmberTools (AMBER MD Package) process_mdout tool module. | ||
author: Data Scientist | ||
contact: [email protected] | ||
author: Brandon Walker, Nazanin Donyapour | ||
contact: [email protected], [email protected] | ||
repository: | ||
documentation: | ||
citation: | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
utils/molecular-dynamics/amber/process-mdout-tool/tests/sander.heat.log
Git LFS file not shown
30 changes: 30 additions & 0 deletions
30
utils/molecular-dynamics/amber/process-mdout-tool/tests/test_process_mdout.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
"""Tests for process_mdout.""" | ||
from pathlib import Path | ||
|
||
from sophios.api.pythonapi import Step | ||
from sophios.api.pythonapi import Workflow | ||
|
||
|
||
def test_process_mdout() -> None: | ||
"""Test process_mdout CWL.""" | ||
cwl_file_str = "process_mdout_0@[email protected]" | ||
cwl_file = Path(__file__).resolve().parent.parent / Path(cwl_file_str) | ||
|
||
input_log_path = Path(__file__).resolve().parent / Path("sander.heat.log") | ||
|
||
process_mdout = Step(clt_path=cwl_file) | ||
process_mdout.input_log_path = input_log_path | ||
process_mdout.output_dat_path = "system.dat" | ||
|
||
steps = [process_mdout] | ||
filename = "process_mdout" | ||
viz = Workflow(steps, filename) | ||
|
||
viz.run() | ||
|
||
outdir = Path("outdir") | ||
output_files = list(outdir.rglob("system.dat")) | ||
|
||
assert ( | ||
output_files | ||
), f"The file 'system.dat' does not exist in any subdirectory of '{outdir}'." |
Oops, something went wrong.