Skip to content

add SMILES conversion transform and transform tests#75

Merged
cgrambow merged 10 commits intomainfrom
conversion-transforms
May 14, 2025
Merged

add SMILES conversion transform and transform tests#75
cgrambow merged 10 commits intomainfrom
conversion-transforms

Conversation

@cgrambow
Copy link
Collaborator

No description provided.

@cgrambow cgrambow temporarily deployed to test.pypi.org May 13, 2025 22:15 — with GitHub Actions Inactive
def convert_selfies_to_nt_via_aa(
sf_seq: str,
residue_to_codon: Dict[str, str],
residue_to_codon: Dict[str, List[str]],
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: list[str], same for Dict


self._randomize_smiles = randomize_smiles

def _check_inputs(self, inputs: list[Any]) -> None:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I assume you tried it out but I've had some issues in the past with these input checks not being applied correctly to flattened items

@cgrambow cgrambow temporarily deployed to test.pypi.org May 14, 2025 13:46 — with GitHub Actions Inactive
@cgrambow cgrambow temporarily deployed to test.pypi.org May 14, 2025 13:48 — with GitHub Actions Inactive
@cgrambow cgrambow merged commit d7aa287 into main May 14, 2025
5 checks passed
@cgrambow cgrambow deleted the conversion-transforms branch May 14, 2025 14:25
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