Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pdbfixer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pdbfixer
Commits
66f52de1
Unverified
Commit
66f52de1
authored
Nov 04, 2024
by
Peter Eastman
Committed by
GitHub
Nov 04, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removeHeterogens() returns the Residues that were removed (#316)
parent
b2cd2c4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
pdbfixer/pdbfixer.py
+5
-0
No files found.
pdbfixer/pdbfixer.py
View file @
66f52de1
...
@@ -1332,6 +1332,10 @@ class PDBFixer(object):
...
@@ -1332,6 +1332,10 @@ class PDBFixer(object):
keepWater : bool, optional, default=True
keepWater : bool, optional, default=True
If True, water molecules will not be removed.
If True, water molecules will not be removed.
Returns
-------
a list of Residue objects that were removed
Examples
Examples
--------
--------
...
@@ -1355,6 +1359,7 @@ class PDBFixer(object):
...
@@ -1355,6 +1359,7 @@ class PDBFixer(object):
modeller
.
delete
(
toDelete
)
modeller
.
delete
(
toDelete
)
self
.
topology
=
modeller
.
topology
self
.
topology
=
modeller
.
topology
self
.
positions
=
modeller
.
positions
self
.
positions
=
modeller
.
positions
return
toDelete
def
addMissingHydrogens
(
self
,
pH
=
7.0
,
forcefield
=
None
):
def
addMissingHydrogens
(
self
,
pH
=
7.0
,
forcefield
=
None
):
"""Add missing hydrogen atoms to the structure.
"""Add missing hydrogen atoms to the structure.
...
...
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