-
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 984c251
Showing
17 changed files
with
47 additions
and
74,477 deletions.
There are no files selected for viewing
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,2 @@ | ||
*.top filter=lfs diff=lfs merge=lfs -text | ||
*.itp filter=lfs diff=lfs merge=lfs -text |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
utils/zip-top-plugin/ict.yml → ...ess/structure-change/zip-top-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: zip_top | ||
version: 0.1.0 | ||
container: zip-top-plugin | ||
container: zip-top-tool | ||
entrypoint: | ||
title: zip_top | ||
description: zips a gromacs topology TOP file (and/or itp include file). | ||
author: Data Scientist | ||
contact: [email protected] | ||
author: Brandon Walker, Nazanin Donyapour | ||
contact: [email protected], [email protected] | ||
repository: | ||
documentation: | ||
citation: | ||
|
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
3 changes: 3 additions & 0 deletions
3
...ocess/structure-change/zip-top-tool/tests/ALL.Ala115Pro_step4_p2g_p2g_Protein_chain_A.itp
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
utils/pre-process/structure-change/zip-top-tool/tests/ALL.Ala115Pro_step8_gio_gio.top
Git LFS file not shown
File renamed without changes.
35 changes: 35 additions & 0 deletions
35
utils/pre-process/structure-change/zip-top-tool/tests/test_zip_top.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,35 @@ | ||
"""Tests for zip_top.""" | ||
from pathlib import Path | ||
|
||
from sophios.api.pythonapi import Step | ||
from sophios.api.pythonapi import Workflow | ||
|
||
|
||
def test_zip_top() -> None: | ||
"""Test zip topology CWL.""" | ||
input_top_path = Path(__file__).resolve().parent / Path( | ||
"ALL.Ala115Pro_step8_gio_gio.top", | ||
) | ||
input_itp_path = Path(__file__).resolve().parent / Path( | ||
"ALL.Ala115Pro_step4_p2g_p2g_Protein_chain_A.itp", | ||
) | ||
cwl_file_str = "zip_top_0@[email protected]" | ||
cwl_file = Path(__file__).resolve().parent.parent / Path(cwl_file_str) | ||
|
||
zip_top = Step(clt_path=cwl_file) | ||
zip_top.input_top_path = input_top_path | ||
zip_top.input_itp_path = input_itp_path | ||
zip_top.output_top_zip_path = "system.zip" | ||
|
||
steps = [zip_top] | ||
filename = "zip_top" | ||
viz = Workflow(steps, filename) | ||
|
||
viz.run() | ||
|
||
outdir = Path("outdir") | ||
files = list(outdir.rglob("system.zip")) | ||
|
||
assert ( | ||
files | ||
), f"The file 'system.zip' does not exist in any subdirectory of '{outdir}'." |
File renamed without changes.
74,385 changes: 0 additions & 74,385 deletions
74,385
utils/zip-top-plugin/tests/ALL.Ala115Pro_step4_p2g_p2g_Protein_chain_A.itp
This file was deleted.
Oops, something went wrong.
55 changes: 0 additions & 55 deletions
55
utils/zip-top-plugin/tests/ALL.Ala115Pro_step8_gio_gio.top
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.