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
05fea2f4
Commit
05fea2f4
authored
Jun 06, 2014
by
Matthew Harrigan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Python3-compatible imports
parent
d3f014a5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
10 deletions
+14
-10
pdbfixer/__init__.py
+3
-1
pdbfixer/pdbfixer.py
+2
-2
pdbfixer/ui.py
+9
-7
No files found.
pdbfixer/__init__.py
View file @
05fea2f4
from
pdbfixer
import
PDBFixer
from
__future__
import
absolute_import
from
.pdbfixer
import
PDBFixer
pdbfixer/pdbfixer.py
View file @
05fea2f4
...
...
@@ -28,6 +28,7 @@ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.
"""
from
__future__
import
absolute_import
__author__
=
"Peter Eastman"
__version__
=
"1.1"
...
...
@@ -1027,8 +1028,7 @@ class PDBFixer(object):
def
main
():
if
len
(
sys
.
argv
)
<
2
:
# Display the UI.
import
ui
from
.
import
ui
ui
.
launchUI
()
else
:
# Run in command line mode.
...
...
pdbfixer/ui.py
View file @
05fea2f4
import
simtk.openmm.app
as
app
from
simtk.openmm.app.internal.pdbstructure
import
PdbStructure
import
simtk.unit
as
unit
from
pdbfixer
import
PDBFixer
,
substitutions
,
proteinResidues
,
dnaResidues
,
rnaResidues
import
uiserver
from
__future__
import
absolute_import
import
webbrowser
import
os.path
import
gzip
import
time
from
io
import
BytesIO
import
simtk.openmm.app
as
app
import
simtk.unit
as
unit
from
.pdbfixer
import
PDBFixer
,
proteinResidues
,
dnaResidues
,
rnaResidues
from
.
import
uiserver
try
:
from
urllib.request
import
urlopen
from
io
import
StringIO
...
...
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