Unverified Commit c46e97ca authored by Gustaf Ahdritz's avatar Gustaf Ahdritz Committed by GitHub
Browse files

Merge pull request #7 from cclauss/patch-1

GitHub Action to find undefined names in Python code
parents d01f47af f0655122
name: undefined_names
on: [pull_request, push]
jobs:
undefined_names:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: pip install --upgrade pip
- run: pip install flake8
- run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
...@@ -26,6 +26,7 @@ from Bio import PDB ...@@ -26,6 +26,7 @@ from Bio import PDB
from Bio.Data import SCOPData from Bio.Data import SCOPData
import numpy as np import numpy as np
from openfold.data.templates import MultipleChainsError
import openfold.np.residue_constants as residue_constants import openfold.np.residue_constants as residue_constants
......
...@@ -13,11 +13,14 @@ ...@@ -13,11 +13,14 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import math
import numpy as np import numpy as np
import torch import torch
import torch.nn as nn import torch.nn as nn
from typing import Dict from typing import Dict
from openfold.np import protein
import openfold.np.residue_constants as rc import openfold.np.residue_constants as rc
from openfold.utils.affine_utils import T from openfold.utils.affine_utils import T
from openfold.utils.tensor_utils import ( from openfold.utils.tensor_utils import (
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
# limitations under the License. # limitations under the License.
from functools import partial from functools import partial
import logging
import ml_collections import ml_collections
import numpy as np import numpy as np
import torch import torch
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment