Skip to content
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

feat!: parameterize normalize in translator #361

Merged
merged 2 commits into from
Mar 13, 2024
Merged

feat!: parameterize normalize in translator #361

merged 2 commits into from
Mar 13, 2024

Conversation

korikuzma
Copy link
Contributor

close #231

@larrybabb I believe this will help with the variation-normalizer issue.

  • new kwarg (do_normalize) in translate_from methods. Set to determine if normalization should be performed

* new kwarg (do_normalize) in translate_from methods. Set to determine
  if normalization should be performed
@korikuzma korikuzma added enhancement New feature or request priority:medium Medium priority labels Mar 11, 2024
@korikuzma korikuzma self-assigned this Mar 11, 2024
@korikuzma korikuzma requested review from a team as code owners March 11, 2024 21:27
Copy link
Contributor

@larrybabb larrybabb left a comment

Choose a reason for hiding this comment

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

@korikuzma please verify my understanding that this change is really making sure that a deverloper can more easily turn off the default 'normalization' processing if desired. Whereas prior to this PR that would have been less straight forward.

Copy link
Contributor

@larrybabb larrybabb left a comment

Choose a reason for hiding this comment

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

approving this improvement to calling the translate_from specializations with a new do_normalize option that is default set to True.

@korikuzma
Copy link
Contributor Author

@korikuzma please verify my understanding that this change is really making sure that a deverloper can more easily turn off the default 'normalization' processing if desired. Whereas prior to this PR that would have been less straight forward.

@larrybabb Correct. This is similar to #214 (default assembly name). It doesn't change the functionality, but makes it easier to switch without having to constantly re-set the instance variable.

@larrybabb larrybabb merged commit cef704d into main Mar 13, 2024
8 checks passed
@larrybabb larrybabb deleted the issue-231 branch March 13, 2024 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority:medium Medium priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parameterize normalize in translate_from methods
3 participants