File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111import logging
1212import operator
1313import sys
14- import warnings
1514from collections import OrderedDict , abc
1615from fractions import Fraction
1716from functools import reduce , singledispatchmethod
@@ -358,22 +357,6 @@ def naming(self) -> NameGenerator:
358357 def reaction (self ) -> ReactionInfo :
359358 return self .__reaction
360359
361- def set_dynamics (
362- self , particle_name : str , dynamics_builder : ResonanceDynamicsBuilder
363- ) -> None :
364- """Assign a `.ResonanceDynamicsBuilder` for a specific resonance.
365-
366- .. deprecated:: 0.16.0
367- Use the `~.DynamicsSelector.assign()` method of the `.dynamics` attribute
368- instead.
369- """
370- warnings .warn (
371- "set_dynamics() will be removed in favor of dynamics.assign()" ,
372- category = DeprecationWarning ,
373- stacklevel = 1 ,
374- )
375- self .dynamics .assign (particle_name , dynamics_builder )
376-
377360 def formulate (self ) -> HelicityModel :
378361 self .__ingredients .reset ()
379362 main_intensity = self .__formulate_top_expression ()
You can’t perform that action at this time.
0 commit comments