-
Notifications
You must be signed in to change notification settings - Fork 6
Data Augmentation : SMILES #115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
aditya0by0
commented
Jul 30, 2025
- closes SMILES augmentation #113
|
@sfluegel05, Please review and merge the PR. |
| self._chebi_version_train_obj.setup() | ||
|
|
||
| def _load_dict(self, input_file_path: str) -> Generator[Dict[str, Any], None, None]: | ||
| def _load_dict(self, input_file_path: str) -> Generator[dict[str, Any], None, None]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a reason or this change? The only difference I see is that we lose support for python<3.9 with dict
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we’ve already set Python 3.10 as the minimum requirement in #105
, there’s no need to import type hints from typing or typing_extensions. Using built-in type hints (e.g., dict[...]) is both explicit and consistent with Python 3.10+ features, which is why this change was made.