Replacing manual absolute error tests with pytest.approx, improving documentation, and other small changes per the review by @paulroman.

This commit is contained in:
agnelson 2021-10-05 08:39:24 -05:00
parent e4476fc0b7
commit c9e91d42fb
4 changed files with 53 additions and 34 deletions

View file

@ -52,7 +52,7 @@ def _process_CLI_arguments(volume=False, geometry_debug=False, particles=None,
args = [openmc_exec]
if volume:
args += ['--volume']
args.append('--volume')
if isinstance(particles, Integral) and particles > 0:
args += ['-n', str(particles)]