Merge pull request #1686 from gridley/fix_depletion_restart_example

(tiny) Fix depletion restart example
This commit is contained in:
Adam Nelson 2020-10-09 08:00:11 -05:00 committed by GitHub
commit 779422b9ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ Contributing
------------
Now that you understand the basic development workflow, let's discuss how an
individual to contribute to development. Note that this would apply to both new
individual can contribute to development. Note that this would apply to both new
features and bug fixes. The general steps for contributing are as follows:
1. Fork the main openmc repository from `openmc-dev/openmc`_. This will create a

View file

@ -12,7 +12,7 @@ with openmc.StatePoint(statepoint) as sp:
geometry = sp.summary.geometry
# Load previous depletion results
previous_results = openmc.deplete.ResultsList("depletion_results.h5")
previous_results = openmc.deplete.ResultsList.from_hdf5("depletion_results.h5")
###############################################################################
# Transport calculation settings