From f038225abe66ae35c6441b59bbf0d55e9a256b83 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Thu, 29 Sep 2022 16:04:31 -0500 Subject: [PATCH] Update openmc/universe.py Co-authored-by: Jonathan Shimwell --- openmc/universe.py | 1 - 1 file changed, 1 deletion(-) diff --git a/openmc/universe.py b/openmc/universe.py index b3a5cf14b7..3082a0c125 100644 --- a/openmc/universe.py +++ b/openmc/universe.py @@ -760,7 +760,6 @@ class DAGMCUniverse(UniverseBase): with h5py.File(self.filename) as dagmc_file: category_data = dagmc_file['tstt/tags/CATEGORY/values'] category_strs = map(decode_str_tag, category_data) - # add one assuming implicit complement doesn't exist n = sum([v == geom_type.capitalize() for v in category_strs]) # check for presence of an implicit complement in the file and