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
cad8de7e
"pcdet/models/vscode:/vscode.git/clone" did not exist on "aa753ec0e941ddb117654810b7e6c16f2efec2f9"
Commit
cad8de7e
authored
Dec 21, 2021
by
Sachin Kadyan
Browse files
Fixed filepath for the features.pkl pickle file.
parent
8923e536
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_data_transforms.py
tests/test_data_transforms.py
+1
-1
No files found.
tests/test_data_transforms.py
View file @
cad8de7e
...
@@ -57,7 +57,7 @@ class TestDataTransforms(unittest.TestCase):
...
@@ -57,7 +57,7 @@ class TestDataTransforms(unittest.TestCase):
assert
torch
.
all
(
torch
.
eq
(
protein
[
'template_aatype'
],
template_seq_ours
))
assert
torch
.
all
(
torch
.
eq
(
protein
[
'template_aatype'
],
template_seq_ours
))
def
test_correct_msa_restypes
(
self
):
def
test_correct_msa_restypes
(
self
):
with
open
(
'
../features.pkl
'
,
'rb'
)
as
file
:
with
open
(
"
../
test_data/
features.pkl
"
,
'rb'
)
as
file
:
features
=
pickle
.
load
(
file
)
features
=
pickle
.
load
(
file
)
protein
=
{
'msa'
:
torch
.
tensor
(
features
[
'msa'
],
dtype
=
torch
.
int64
)}
protein
=
{
'msa'
:
torch
.
tensor
(
features
[
'msa'
],
dtype
=
torch
.
int64
)}
...
...
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