-
Notifications
You must be signed in to change notification settings - Fork 13
Remove call pattern #372
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
base: modification_mapping_psm
Are you sure you want to change the base?
Remove call pattern #372
Conversation
- MSFraggerModificationTranslation.__call__ → translate() - SageModificationTranslation.__call__ → translate() - Update all callers to use explicit translate() method 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
| def _load_modifications(self, origin_df: pd.DataFrame) -> None: # noqa: ARG002 | ||
| """Parse modifications from PsmDfCols.TMP_MODS column (mapped from 'Assigned Modifications').""" | ||
| translator = MSFraggerModificationTranslation( | ||
| modification_translation = MSFraggerModificationTranslation( |
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.
MSFraggerModificationTranslator? (same for the other)
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.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
Restores callable interface for backward compatibility with notebook tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This reverts commit e290862.
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- MSFraggerModificationTranslation -> MSFraggerModificationTranslator - SageModificationTranslation -> SageModificationTranslator - Update all usages in readers, tests, and notebooks 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
| @@ -0,0 +1,37 @@ | |||
| # Refactor TODO | |||
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.
I think this file can be removed
|
"Who you're gonna call?" - " |
Removes the infamous
__call__pattern from modification translation