Skip to content

Transcriptformer config download cache dir#358

Merged
dmiv-helical merged 1 commit intomainfrom
issue-348
Mar 23, 2026
Merged

Transcriptformer config download cache dir#358
dmiv-helical merged 1 commit intomainfrom
issue-348

Conversation

@dmiv-helical
Copy link
Contributor

Closes #348

Here, we parametrise the cache directory of
the Transcriptformer at init.

@dmiv-helical dmiv-helical requested a review from bputzeys March 23, 2026 09:32
):

if pretrained_embedding_species is not None and pretrained_embedding is None:
from pathlib import Path
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import at top please :)

@@ -58,6 +58,7 @@ def __init__(
output_path: str = "./inference_results",
load_checkpoint: str = None,
pretrained_embedding: Union[str, List[str]] = None,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you adjust the docstring for this new parameter? also is there a way to only have 1 and not 2 of these variables?

Closes #348

Here, we parametrise the cache directory of
the Transcriptformer at init.
@dmiv-helical dmiv-helical merged commit fd2e1cb into main Mar 23, 2026
6 checks passed
@dmiv-helical dmiv-helical deleted the issue-348 branch March 23, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants