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
c8e54318
Commit
c8e54318
authored
Oct 08, 2021
by
Sachin Kadyan
Browse files
Fixes the import paths for the internal imports.
parent
455731cc
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
13 additions
and
13 deletions
+13
-13
openfold/features/data_pipeline.py
openfold/features/data_pipeline.py
+3
-3
openfold/features/data_transforms.py
openfold/features/data_transforms.py
+1
-1
openfold/features/feature_pipeline.py
openfold/features/feature_pipeline.py
+1
-1
openfold/features/input_pipeline.py
openfold/features/input_pipeline.py
+1
-1
openfold/features/templates.py
openfold/features/templates.py
+3
-3
openfold/features/tools/hhblits.py
openfold/features/tools/hhblits.py
+1
-1
openfold/features/tools/hhsearch.py
openfold/features/tools/hhsearch.py
+1
-1
openfold/features/tools/jackhmmer.py
openfold/features/tools/jackhmmer.py
+1
-1
openfold/features/tools/kalign.py
openfold/features/tools/kalign.py
+1
-1
No files found.
openfold/features/data_pipeline.py
View file @
c8e54318
...
@@ -3,9 +3,9 @@ import os
...
@@ -3,9 +3,9 @@ import os
import
numpy
as
np
import
numpy
as
np
from
typing
import
Mapping
,
Optional
,
Sequence
from
typing
import
Mapping
,
Optional
,
Sequence
from
features
import
templates
,
parsers
from
openfold.
features
import
templates
,
parsers
from
features.tools
import
jackhmmer
,
hhblits
,
hhsearch
from
openfold.
features.tools
import
jackhmmer
,
hhblits
,
hhsearch
from
np
import
residue_constants
from
openfold.
np
import
residue_constants
FeatureDict
=
Mapping
[
str
,
np
.
ndarray
]
FeatureDict
=
Mapping
[
str
,
np
.
ndarray
]
...
...
openfold/features/data_transforms.py
View file @
c8e54318
...
@@ -6,7 +6,7 @@ import torch
...
@@ -6,7 +6,7 @@ import torch
from
operator
import
add
from
operator
import
add
from
config
import
NUM_RES
,
NUM_EXTRA_SEQ
,
NUM_TEMPLATES
,
NUM_MSA_SEQ
from
config
import
NUM_RES
,
NUM_EXTRA_SEQ
,
NUM_TEMPLATES
,
NUM_MSA_SEQ
from
np
import
residue_constants
from
openfold.
np
import
residue_constants
MSA_FEATURE_NAMES
=
[
MSA_FEATURE_NAMES
=
[
'msa'
,
'deletion_matrix'
,
'msa_mask'
,
'msa_row_mask'
,
'bert_mask'
,
'true_msa'
'msa'
,
'deletion_matrix'
,
'msa_mask'
,
'msa_row_mask'
,
'bert_mask'
,
'true_msa'
...
...
openfold/features/feature_pipeline.py
View file @
c8e54318
...
@@ -5,7 +5,7 @@ import torch
...
@@ -5,7 +5,7 @@ import torch
from
typing
import
Mapping
,
Tuple
,
List
,
Optional
,
Dict
,
Sequence
from
typing
import
Mapping
,
Tuple
,
List
,
Optional
,
Dict
,
Sequence
import
numpy
as
np
import
numpy
as
np
from
features
import
input_pipeline
from
openfold.
features
import
input_pipeline
FeatureDict
=
Mapping
[
str
,
np
.
ndarray
]
FeatureDict
=
Mapping
[
str
,
np
.
ndarray
]
TensorDict
=
Dict
[
str
,
torch
.
Tensor
]
TensorDict
=
Dict
[
str
,
torch
.
Tensor
]
...
...
openfold/features/input_pipeline.py
View file @
c8e54318
import
torch
import
torch
from
features
import
data_transforms
from
openfold.
features
import
data_transforms
def
nonensembled_transform_fns
(
data_config
):
def
nonensembled_transform_fns
(
data_config
):
...
...
openfold/features/templates.py
View file @
c8e54318
...
@@ -10,9 +10,9 @@ from absl import logging
...
@@ -10,9 +10,9 @@ from absl import logging
import
numpy
as
np
import
numpy
as
np
from
features
import
parsers
,
mmcif_parsing
from
openfold.
features
import
parsers
,
mmcif_parsing
from
features.tools
import
kalign
from
openfold.
features.tools
import
kalign
from
np
import
residue_constants
from
openfold.
np
import
residue_constants
class
Error
(
Exception
):
class
Error
(
Exception
):
...
...
openfold/features/tools/hhblits.py
View file @
c8e54318
...
@@ -8,7 +8,7 @@ from typing import Any, Mapping, Optional, Sequence
...
@@ -8,7 +8,7 @@ from typing import Any, Mapping, Optional, Sequence
from
absl
import
logging
from
absl
import
logging
# Internal import (7716).
# Internal import (7716).
from
features.tools
import
utils
from
openfold.
features.tools
import
utils
_HHBLITS_DEFAULT_P
=
20
_HHBLITS_DEFAULT_P
=
20
_HHBLITS_DEFAULT_Z
=
500
_HHBLITS_DEFAULT_Z
=
500
...
...
openfold/features/tools/hhsearch.py
View file @
c8e54318
...
@@ -9,7 +9,7 @@ from absl import logging
...
@@ -9,7 +9,7 @@ from absl import logging
# Internal import (7716).
# Internal import (7716).
from
features.tools
import
utils
from
openfold.
features.tools
import
utils
class
HHSearch
:
class
HHSearch
:
...
...
openfold/features/tools/jackhmmer.py
View file @
c8e54318
...
@@ -12,7 +12,7 @@ from absl import logging
...
@@ -12,7 +12,7 @@ from absl import logging
# Internal import (7716).
# Internal import (7716).
from
features.tools
import
utils
from
openfold.
features.tools
import
utils
class
Jackhmmer
:
class
Jackhmmer
:
...
...
openfold/features/tools/kalign.py
View file @
c8e54318
...
@@ -6,7 +6,7 @@ from typing import Sequence
...
@@ -6,7 +6,7 @@ from typing import Sequence
from
absl
import
logging
from
absl
import
logging
from
features.tools
import
utils
from
openfold.
features.tools
import
utils
def
_to_a3m
(
sequences
:
Sequence
[
str
])
->
str
:
def
_to_a3m
(
sequences
:
Sequence
[
str
])
->
str
:
...
...
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