mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Use default filename in deplete.Results()
This commit is contained in:
parent
9ec43809db
commit
08df830700
1 changed files with 2 additions and 2 deletions
|
|
@ -54,11 +54,11 @@ class Results(list):
|
|||
|
||||
Parameters
|
||||
----------
|
||||
filename : str
|
||||
filename : str, optional
|
||||
Path to depletion result file
|
||||
|
||||
"""
|
||||
def __init__(self, filename=None):
|
||||
def __init__(self, filename='depletion_results.h5'):
|
||||
data = []
|
||||
if filename is not None:
|
||||
with h5py.File(str(filename), "r") as fh:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue