From 494e357a6422d929be050a08677a54c76808641d Mon Sep 17 00:00:00 2001 From: Jonathan Shimwell Date: Wed, 7 Sep 2022 18:55:03 +0100 Subject: [PATCH] Fixed the type of mat Co-authored-by: Paul Romano --- openmc/deplete/results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/deplete/results.py b/openmc/deplete/results.py index ab21232207..15a65e98a8 100644 --- a/openmc/deplete/results.py +++ b/openmc/deplete/results.py @@ -95,7 +95,7 @@ class Results(list): def get_atoms( self, - mat: Material, + mat: Union[Material, str], nuc: str, nuc_units: str = "atoms", time_units: str = "s"