Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenFold
Commits
00725db1
Commit
00725db1
authored
Feb 20, 2023
by
Jose Duarte
Browse files
Removing protocol, unclear what is it for
parent
f43640b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
openfold/np/protein.py
openfold/np/protein.py
+1
-5
No files found.
openfold/np/protein.py
View file @
00725db1
...
@@ -501,10 +501,6 @@ def to_modelcif(prot: Protein) -> str:
...
@@ -501,10 +501,6 @@ def to_modelcif(prot: Protein) -> str:
model_group
=
modelcif
.
model
.
ModelGroup
([
model
],
name
=
'All models'
)
model_group
=
modelcif
.
model
.
ModelGroup
([
model
],
name
=
'All models'
)
system
.
model_groups
.
append
(
model_group
)
system
.
model_groups
.
append
(
model_group
)
protocol
=
modelcif
.
protocol
.
Protocol
()
# protocol.steps.append(modelcif.protocol.ModelingStep(
# input_data=aln, output_data=model))
system
.
protocols
.
append
(
protocol
)
fh
=
io
.
StringIO
()
fh
=
io
.
StringIO
()
modelcif
.
dumper
.
write
(
fh
,
[
system
])
modelcif
.
dumper
.
write
(
fh
,
[
system
])
modelcifstr
=
fh
.
getvalue
()
modelcifstr
=
fh
.
getvalue
()
...
@@ -567,7 +563,7 @@ def from_prediction(
...
@@ -567,7 +563,7 @@ def from_prediction(
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
pdb_file
=
'/home/jose/Downloads/171l.pdb'
pdb_file
=
'/home/jose/Downloads/171l.pdb'
# pdb_file = '/home/jose/Downloads/2trx.pdb'
# pdb_file = '/home/jose/Downloads/2trx.pdb'
cif_file
=
'/home/jose/test
1
.cif'
cif_file
=
'/home/jose/test
2
.cif'
with
open
(
pdb_file
,
'r'
)
as
file
:
with
open
(
pdb_file
,
'r'
)
as
file
:
pdbstr
=
file
.
read
()
pdbstr
=
file
.
read
()
...
...
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