From 9e4cd5ae2b0c6d437efb6b574c703f41eaf40882 Mon Sep 17 00:00:00 2001 From: Will Boyd Date: Wed, 18 Nov 2015 11:57:36 -0500 Subject: [PATCH] Fixed typo in error checking in MGXS Library domains setter per comment by @nelsonag --- openmc/mgxs/library.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openmc/mgxs/library.py b/openmc/mgxs/library.py index 9def79eeb2..87c6665b2d 100644 --- a/openmc/mgxs/library.py +++ b/openmc/mgxs/library.py @@ -255,7 +255,8 @@ class Library(object): # Check that each domain can be found in the geometry for domain in domains: if domain not in all_domains: - msg = 'Domain "{}" could not be found in the geometry' + msg = 'Domain "{}" could not be found in the ' \ + 'geometry.'.format(domain) raise ValueError(msg) self._domains = domains