Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GromacsOnEUREKA
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Winokan, Max S Dr (PG/R - Maths & Physics)
GromacsOnEUREKA
Commits
6ff1f9b8
Commit
6ff1f9b8
authored
4 years ago
by
Winokan, Max S Dr (PG/R - Maths & Physics)
Browse files
Options
Downloads
Patches
Plain Diff
swap H41 argument
parent
54ead3a4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
amp_stats.py
+9
-1
9 additions, 1 deletion
amp_stats.py
with
9 additions
and
1 deletion
amp_stats.py
+
9
−
1
View file @
6ff1f9b8
...
...
@@ -46,6 +46,7 @@ argparser.add_argument("-rpf","--respair-file",type=str,metavar="RPF",help="Spec
argparser
.
add_argument
(
"
-g
"
,
"
--gui
"
,
help
=
"
Open an ASE GUI.
"
,
action
=
'
store_true
'
)
argparser
.
add_argument
(
"
-s
"
,
"
--show
"
,
help
=
"
Show plots.
"
,
action
=
'
store_true
'
)
argparser
.
add_argument
(
"
-pa
"
,
"
--plot-alternate
"
,
help
=
"
Plot alternate h-bond definitions.
"
,
action
=
'
store_true
'
)
argparser
.
add_argument
(
"
-sh41
"
,
"
--swap-H41
"
,
help
=
"
Swap H41 and H42
"
,
action
=
'
store_true
'
)
args
=
argparser
.
parse_args
()
...
...
@@ -191,7 +192,14 @@ if args.dna_hydrogen_bonds is not None:
elif
print_non_match
:
print
(
stripped_line
)
elif
"
DC
"
in
stripped_line
or
"
CTSN
"
in
stripped_line
:
if
"
H41
"
in
stripped_line
:
if
args
.
swap_H41
:
search
=
"
H42
"
else
:
search
=
"
H41
"
if
search
in
stripped_line
:
if
args
.
swap_H41
:
mout
.
warningOut
(
"
Using H42 instead of H41!
"
)
# if " H42 " in stripped_line:
if
len
(
split_line
)
==
11
:
dc_reslist
.
append
(
split_line
[
3
]
+
split_line
[
4
])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment