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
c7d32e9c
"platforms/cuda/tests/TestCudaVariableVerletIntegrator.cpp" did not exist on "b2da8475b73e83899f61da0843558687e3869b7f"
Commit
c7d32e9c
authored
Feb 11, 2012
by
Peter Eastman
Browse files
Handle alternate locations in PDB files correctly
parent
34bd3ee9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrappers/python/simtk/openmm/app/pdbfile.py
wrappers/python/simtk/openmm/app/pdbfile.py
+1
-1
No files found.
wrappers/python/simtk/openmm/app/pdbfile.py
View file @
c7d32e9c
...
@@ -58,7 +58,7 @@ class PDBFile(object):
...
@@ -58,7 +58,7 @@ class PDBFile(object):
atomReplacements
=
PDBFile
.
_atomNameReplacements
[
resName
]
atomReplacements
=
PDBFile
.
_atomNameReplacements
[
resName
]
else
:
else
:
atomReplacements
=
{}
atomReplacements
=
{}
for
atom
in
residue
.
iter_
atoms
()
:
for
atom
in
residue
.
atoms
:
atomName
=
atom
.
get_name
()
atomName
=
atom
.
get_name
()
if
atomName
in
atomReplacements
:
if
atomName
in
atomReplacements
:
atomName
=
atomReplacements
[
atomName
]
atomName
=
atomReplacements
[
atomName
]
...
...
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