mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Correcting application of Path.resolve
This commit is contained in:
parent
b0bb2493b9
commit
24bca06310
1 changed files with 3 additions and 1 deletions
|
|
@ -179,8 +179,10 @@ class Model:
|
|||
check_type('chain_file', chain_file, (type(None), str, Path))
|
||||
if isinstance(chain_file, str):
|
||||
self._chain_file = Path(chain_file).resolve()
|
||||
else:
|
||||
elif isinstance(chain_file, Path):
|
||||
self._chain_file = chain_file.resolve()
|
||||
else:
|
||||
self._chain_file = None
|
||||
|
||||
@fission_q.setter
|
||||
def fission_q(self, fission_q):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue