mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Apply suggestions from code review
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
00095b8b74
commit
4043e02fc7
2 changed files with 2 additions and 2 deletions
|
|
@ -165,7 +165,7 @@ class Results(object):
|
|||
Returns
|
||||
-------
|
||||
Results
|
||||
- New results object
|
||||
New results object
|
||||
"""
|
||||
new = Results()
|
||||
new.volume = {lm: self.volume[lm] for lm in local_materials}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ class ResultsList(list):
|
|||
Returns
|
||||
-------
|
||||
new : ResultsList
|
||||
New instance of depletion results
|
||||
New instance of depletion results
|
||||
"""
|
||||
with h5py.File(str(filename), "r") as fh:
|
||||
check_filetype_version(fh, 'depletion results', _VERSION_RESULTS[0])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue