-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate Particle methods from_string and from_string_list (#354)
* Deprecate from_string and from_string_list * __main__.py: replace from_string_list with findall * Adapt tests to deprecation warnings * Deprecated _from_group_dict_list as well since only used by what gets deprecated in this MR * No longer accept ad-hoc AmpGen style of particle names * Remove a decorated duplicately added by mistake * Do not add a deprecated warning to a private method * style: pre-commit fixes * Conflicts resolved wet master * __main__.py: replace from_string_list with findall * Adapt tests to deprecation warnings * Minor fix * Add dependencies and imports for deprecated * style: pre-commit fixes * Add a missing 'with pytest.deprecated_call():' --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
feab020
commit 3e02572
Showing
5 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters