Skip to content

Commit e73cb1f

Browse files
committed
actions
1 parent 52c01be commit e73cb1f

File tree

5 files changed

+3
-9
lines changed

5 files changed

+3
-9
lines changed

.github/workflows/push.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
runs-on: "ubuntu-latest"
4343
steps:
4444
- uses: "actions/checkout@v4"
45-
- uses: "chartboost/ruff-action@v1"
45+
- uses: "astral-sh/ruff-action@v1"
4646
with:
4747
args: "format --check"
4848
# pypi:

src/lobster/data/__init__.py

-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from ._constants import ( # nopycln: import
44
ESM_MODEL_NAMES,
55
)
6-
from ._cyno_pk_datamodule import CynoPKClearanceLightningDataModule
76
from ._dataframe_dataset_in_memory import ( # nopycln: import
87
DataFrameDatasetInMemory,
98
DataFrameLightningDataModule,
@@ -16,15 +15,12 @@
1615
)
1716
from ._minhasher import LobsterMinHasher
1817
from ._mmseqs import MMSeqsRunner
19-
from ._neglog_datamodule import NegLogDataModule
2018
from ._structure_datamodule import PDBDataModule
2119
from ._utils import ( # nopycln: import
2220
load_pickle,
2321
)
2422

2523
__all__ = [
26-
"ContactMapDataModule",
27-
"NegLogDataModule",
2824
"PDBDataModule",
2925
"DataFrameDatasetInMemory",
3026
]

src/lobster/datasets/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
from ._ab_ag_sequence_ppi_dataset import AbAgSequencePPIDataset
21
from ._calm_dataset import CalmDataset

src/lobster/extern/openfold_utils/_rigids.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def __getitem__(self, index: Any) -> Rotation:
372372
The indexed rotation
373373
374374
"""
375-
if type(index) != tuple:
375+
if not isinstance(index, tuple):
376376
index = (index,)
377377

378378
if self._rot_mats is not None:
@@ -947,7 +947,7 @@ def __getitem__(
947947
The indexed tensor
948948
949949
"""
950-
if type(index) != tuple:
950+
if not isinstance(index, tuple):
951951
index = (index,)
952952

953953
return Rigid(

src/lobster/tokenization/_pmlm_tokenizer_transform.py

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ def __init__(
3333
verbose: bool = True,
3434
tokenizer_dir: Optional[str] = "pmlm_tokenizer",
3535
mlm: bool = True,
36-
reversal_augmentation: bool = False,
3736
):
3837
super().__init__()
3938

0 commit comments

Comments
 (0)