Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
311cc01e
Commit
311cc01e
authored
Apr 20, 2017
by
Rafal P. Wiewiora
Browse files
remove the now redundant hasTwoWildcards
parent
0a2439ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
wrappers/python/simtk/openmm/app/forcefield.py
wrappers/python/simtk/openmm/app/forcefield.py
+0
-4
No files found.
wrappers/python/simtk/openmm/app/forcefield.py
View file @
311cc01e
...
@@ -1980,10 +1980,6 @@ class PeriodicTorsionGenerator(object):
...
@@ -1980,10 +1980,6 @@ class PeriodicTorsionGenerator(object):
types3
=
tordef
.
types3
types3
=
tordef
.
types3
types4
=
tordef
.
types4
types4
=
tordef
.
types4
hasWildcard
=
(
wildcard
in
(
types1
,
types2
,
types3
,
types4
))
hasWildcard
=
(
wildcard
in
(
types1
,
types2
,
types3
,
types4
))
if
(
types1
,
types2
,
types3
,
types4
).
count
(
wildcard
)
==
2
:
hasTwoWildcards
=
True
else
:
hasTwoWildcards
=
False
if
match
is
not
None
and
hasWildcard
:
if
match
is
not
None
and
hasWildcard
:
# Prefer specific definitions over ones with wildcards
# Prefer specific definitions over ones with wildcards
continue
continue
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment