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
82ce81d0
Commit
82ce81d0
authored
Aug 06, 2015
by
Peter Eastman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for loading PDBx/mmCIF files
parent
bbb8cfa8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
pdbfixer/html/addResidues.html
+1
-1
pdbfixer/pdbfixer.py
+0
-0
pdbfixer/ui.py
+6
-2
No files found.
pdbfixer/html/addResidues.html
View file @
82ce81d0
The
SEQRES
records in this PDB file include residues that are missing from the atom data section. Do you want to add the missing residues?
The
sequence
records in this PDB file include residues that are missing from the atom data section. Do you want to add the missing residues?
<p>
<p>
<form
id=
"mainform"
method=
"post"
action=
"/"
>
<form
id=
"mainform"
method=
"post"
action=
"/"
>
<table
border=
"1"
id=
"table"
>
<table
border=
"1"
id=
"table"
>
...
...
pdbfixer/pdbfixer.py
View file @
82ce81d0
This diff is collapsed.
Click to expand it.
pdbfixer/ui.py
View file @
82ce81d0
...
@@ -55,8 +55,12 @@ def startPageCallback(parameters, handler):
...
@@ -55,8 +55,12 @@ def startPageCallback(parameters, handler):
global
fixer
global
fixer
if
'type'
in
parameters
:
if
'type'
in
parameters
:
if
parameters
.
getfirst
(
'type'
)
==
'local'
:
if
parameters
.
getfirst
(
'type'
)
==
'local'
:
fixer
=
PDBFixer
(
pdbfile
=
parameters
[
'pdbfile'
]
.
value
.
decode
()
.
splitlines
())
filename
=
parameters
[
'pdbfile'
]
.
filename
fixer
.
source
=
parameters
[
'pdbfile'
]
.
filename
if
filename
.
lower
()
.
endswith
(
'.pdbx'
)
or
filename
.
lower
()
.
endswith
(
'.cif'
):
fixer
=
PDBFixer
(
pdbxfile
=
StringIO
(
parameters
[
'pdbfile'
]
.
value
.
decode
()))
else
:
fixer
=
PDBFixer
(
pdbfile
=
parameters
[
'pdbfile'
]
.
value
.
decode
()
.
splitlines
())
fixer
.
source
=
filename
else
:
else
:
id
=
parameters
.
getfirst
(
'pdbid'
)
id
=
parameters
.
getfirst
(
'pdbid'
)
try
:
try
:
...
...
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