mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Apply typo fixes identified incode review by @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
577157b846
commit
2c9df1b77e
2 changed files with 1 additions and 2 deletions
|
|
@ -267,7 +267,7 @@ class Geometry:
|
|||
----------
|
||||
path : PathLike, optional
|
||||
Path to geometry XML file
|
||||
materials : openmc.Materials or or PathLike
|
||||
materials : openmc.Materials or PathLike
|
||||
Materials used to assign to cells. If PathLike, an attempt is made
|
||||
to generate materials from the provided xml file.
|
||||
|
||||
|
|
|
|||
|
|
@ -290,7 +290,6 @@ def test_from_xml(run_in_tmpdir, mixed_lattice_model):
|
|||
geom = openmc.Geometry.from_xml(path='geometry.xml', materials=None)
|
||||
assert 'Unable to set "materials" to "None"' in str(excinfo.value)
|
||||
|
||||
|
||||
# checking that the default args also work
|
||||
geom = openmc.Geometry.from_xml()
|
||||
assert isinstance(geom, openmc.Geometry)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue