fusion-energy / openmc_tally_unit_converter

A Python package that finds and converts OpenMC tally units.
MIT License
5 stars 2 forks source link

allowing empty required units #40

Closed shimwell closed 3 years ago

shimwell commented 3 years ago

when users want to find the units it can be helpful to allow required_units to be `None and then the base units of the tally are returned.

This PR adds the ability of functions to handle required_units=None