Merge pull request #2153 from pshriwise/small_fixes

Some small fixes
This commit is contained in:
Paul Romano 2022-08-08 12:15:20 -05:00 committed by GitHub
commit 6254be3758
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View file

@ -3,6 +3,7 @@
*.o
*.log
*.out
*.pkl
# Compiler python objects
*.pyc

View file

@ -792,7 +792,7 @@ class DAGMCUniverse(UniverseBase):
Universe instance
"""
bounding_cell = openmc.Cell(fill=self, cell_id =bounding_cell_id, region=self.bounding_region(**kwargs))
bounding_cell = openmc.Cell(fill=self, cell_id=bounding_cell_id, region=self.bounding_region(**kwargs))
return openmc.Universe(cells=[bounding_cell])
@classmethod

View file

@ -48,8 +48,8 @@ def cpp_driver(request):
finally:
# Remove local build directory when test is complete
shutil.rmtree('build')
os.remove('CMakeLists.txt')
shutil.rmtree(request.node.path.parent / 'build')
os.remove(request.node.path.parent / 'CMakeLists.txt')
@pytest.fixture