mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Remove warnings filter for DeprecationWarning
This commit is contained in:
parent
72659506e0
commit
5fef6f4f66
3 changed files with 0 additions and 10 deletions
|
|
@ -23,9 +23,6 @@ if sys.version_info[0] >= 3:
|
|||
basestring = str
|
||||
|
||||
|
||||
# DeprecationWarning filter for the Tally.add_*(...) methods
|
||||
warnings.simplefilter('always', DeprecationWarning)
|
||||
|
||||
# "Static" variable for auto-generated Tally IDs
|
||||
AUTO_TALLY_ID = 10000
|
||||
|
||||
|
|
|
|||
|
|
@ -9,10 +9,6 @@ if sys.version_info[0] >= 3:
|
|||
basestring = str
|
||||
|
||||
|
||||
# DeprecationWarning filter for the Trigger.add_score(...) method
|
||||
warnings.simplefilter('always', DeprecationWarning)
|
||||
|
||||
|
||||
class Trigger(object):
|
||||
"""A criterion for when to finish a simulation based on tally uncertainties.
|
||||
|
||||
|
|
|
|||
|
|
@ -16,9 +16,6 @@ if sys.version_info[0] >= 3:
|
|||
basestring = str
|
||||
|
||||
|
||||
# DeprecationWarning filter for the Cell.add_surface(...) method
|
||||
warnings.simplefilter('always', DeprecationWarning)
|
||||
|
||||
# A static variable for auto-generated Cell IDs
|
||||
AUTO_CELL_ID = 10000
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue