Skip to content

Commit

Permalink
Merge branch 'protein_prediction' of https://github.com/ChEB-AI/pytho…
Browse files Browse the repository at this point in the history
…n-chebai into protein_prediction
  • Loading branch information
sfluegel05 committed Feb 10, 2025
2 parents e0bbb0e + a52d8de commit e3659cb
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chebai/preprocessing/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ class ESM2EmbeddingReader(DataReader):

def __init__(
self,
save_model_dir: str,
save_model_dir: str = os.path.join("data", "esm2_reader"),
model_name: str = "esm2_t36_3B_UR50D",
device: Optional[torch.device] = None,
truncation_length: int = 1022,
Expand Down Expand Up @@ -617,7 +617,7 @@ def load_hub_workaround(self, url) -> torch.Tensor:
return data

@staticmethod
def name() -> None:
def name() -> str:
"""
Returns the name of the data reader. This method identifies the specific type of data reader.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e3659cb

Please sign in to comment.