-
Notifications
You must be signed in to change notification settings - Fork 160
Add support for reading and dumping multi-frames for gro file & add dump system to gaussian input file #145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
223ec89
support read and dump multiframes for .gro file
Ericwang6 c660136
add unittest case for gromacs/gro.py
Ericwang6 28313fa
add dump system to .gjf file for gaussian
Ericwang6 0a2de68
add unittest case for write .gjf file
Ericwang6 cca873d
support multi-frames for .gro file
Ericwang6 2435d63
change ang2nm = 0.1 to ang2nm = 1 / nm2ang
Ericwang6 ff46250
Update gro.py
Ericwang6 32993e4
modify ang2nm
Ericwang6 c4796fc
add doc string
Ericwang6 b75bb3d
merge gromacs/string, gaussian/string to gromacs/gro, gaussian/gjf
Ericwang6 4668f49
Merge branch 'master' of https://github.com/Ericwang6/dpdata
Ericwang6 2d2d43d
add test for write gjf files
Ericwang6 c806a0a
support read and dump multiframes for .gro file
Ericwang6 471de61
remove not fully developed support for .gjf file
Ericwang6 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 @@ | ||
| ligand in water t= 0.00000 step= 0 | ||
| 32 | ||
| 1MOL C1 1 2.763 2.029 0.966 | ||
| 1MOL C2 2 2.844 2.141 0.941 | ||
| 1MOL C3 3 2.788 2.268 0.958 | ||
| 1MOL C4 4 2.653 2.285 0.991 | ||
| 1MOL C5 5 2.576 2.171 1.011 | ||
| 1MOL C6 6 2.630 2.042 1.007 | ||
| 1MOL CL1 7 2.405 2.194 1.045 | ||
| 1MOL C7 8 2.588 2.419 0.999 | ||
| 1MOL O1 9 2.558 2.474 0.894 | ||
| 1MOL N1 10 2.572 2.471 1.125 | ||
| 1MOL C8 11 2.504 2.587 1.170 | ||
| 1MOL C9 12 2.542 2.648 1.289 | ||
| 1MOL C10 13 2.461 2.753 1.336 | ||
| 1MOL N2 14 2.359 2.804 1.266 | ||
| 1MOL C11 15 2.321 2.742 1.153 | ||
| 1MOL C12 16 2.389 2.631 1.103 | ||
| 1MOL N3 17 2.217 2.806 1.082 | ||
| 1MOL C13 18 2.118 2.742 1.011 | ||
| 1MOL O2 19 2.121 2.624 0.980 | ||
| 1MOL C14 20 2.003 2.827 0.960 | ||
| 1MOL CL2 21 2.875 2.415 0.920 | ||
| 1MOL H1 22 2.026 2.932 0.936 | ||
| 1MOL H2 23 2.810 1.932 0.951 | ||
| 1MOL H3 24 2.945 2.132 0.902 | ||
| 1MOL H4 25 2.577 1.954 1.041 | ||
| 1MOL H5 26 2.608 2.408 1.196 | ||
| 1MOL H6 27 2.624 2.605 1.346 | ||
| 1MOL H7 28 2.483 2.804 1.430 | ||
| 1MOL H8 29 2.357 2.582 1.012 | ||
| 1MOL H9 30 2.203 2.904 1.105 | ||
| 1MOL H10 31 1.920 2.816 1.031 | ||
| 1MOL H11 32 1.967 2.787 0.864 | ||
| 3.24290 3.24290 2.29308 0.00000 0.00000 0.00000 0.00000 1.62145 1.62145 |
This file contains hidden or 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,24 @@ | ||
| frame_1 | ||
| 9 | ||
| 1SOL O 1 0.135 0.183 0.341 | ||
| 1SOL H 2 0.177 0.149 0.262 | ||
| 1SOL H 3 0.046 0.149 0.339 | ||
| 2SOL O 4 0.520 0.447 0.111 | ||
| 2SOL H 5 0.567 0.481 0.035 | ||
| 2SOL H 6 0.568 0.481 0.186 | ||
| 3SOL O 7 0.651 0.539 0.335 | ||
| 3SOL H 8 0.653 0.634 0.336 | ||
| 3SOL H 9 0.743 0.512 0.336 | ||
| 0.7822838765564372 0.7353572647182051 0.9036518515423753 | ||
| frame_2 | ||
| 9 | ||
| 1SOL O 1 0.135 0.183 0.341 | ||
| 1SOL H 2 0.177 0.149 0.262 | ||
| 1SOL H 3 0.046 0.149 0.339 | ||
| 2SOL O 4 0.520 0.447 0.111 | ||
| 2SOL H 5 0.567 0.481 0.035 | ||
| 2SOL H 6 0.568 0.481 0.186 | ||
| 3SOL O 7 0.651 0.539 0.335 | ||
| 3SOL H 8 0.653 0.634 0.336 | ||
| 3SOL H 9 0.743 0.512 0.336 | ||
| 0.7822838765564372 0.7353572647182051 0.9036518515423753 |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.