mit-crpg / opendeplete

A depletion framework for OpenMC
MIT License
15 stars 5 forks source link

OpenMC PyAPI Deprecation warnings #18

Closed wbinventor closed 7 years ago

wbinventor commented 7 years ago

I notice the following deprecation warnings when running the latest version of OpenDeplete:

**DeprecationWarning: Tally.add_nuclide(...) has been deprecated and may be removed in a future version. Tally nuclides should be defined using the nuclides property directly.
  DeprecationWarning)
DeprecationWarning: Tally.add_score(...) has been deprecated and may be removed in a future version. Tally scores should be defined using the scores property directly.
  DeprecationWarning)
DeprecationWarning: Tallies.add_tally(...) has been deprecated and may be removed in a future version. Use Tallies.append(...) instead.
  "instead.", DeprecationWarning)
DeprecationWarning: Tally.add_filter(...) has been deprecated and may be removed in a future version. Tally filters should be defined using the filters property directly.
  DeprecationWarning)

Of course this is not a big deal atm, but thought I'd register it as an issue to be addressed at some point.