Skip to content

Commit

Permalink
missed bits
Browse files Browse the repository at this point in the history
  • Loading branch information
willdumm committed Nov 19, 2024
1 parent 776ab82 commit 2e62463
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions netam/dxsm.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ def __init__(
branch_lengths: torch.Tensor,
multihit_model=None,
):
print("starting DXSMDataset init")
self.nt_parents = nt_parents
self.nt_children = nt_children
self.nt_ratess = nt_ratess
Expand All @@ -79,7 +78,6 @@ def __init__(
aa_parents = translate_sequences(self.nt_parents)
aa_children = translate_sequences(self.nt_children)
self.max_aa_seq_len = max(len(seq) for seq in aa_parents)
print("max_aa_seq_len:", self.max_aa_seq_len)
# We have sequences of varying length, so we start with all tensors set
# to the ambiguous amino acid, and then will fill in the actual values
# below.
Expand Down
1 change: 1 addition & 0 deletions tests/test_ambiguous.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ def test_dnsm_burrito(ambig_pcp_df, dnsm_model):
burrito.joint_train(epochs=1, cycle_count=2, training_method="full")
return burrito


@pytest.fixture
def dasm_model():
return TransformerBinarySelectionModelWiggleAct(
Expand Down

0 comments on commit 2e62463

Please sign in to comment.