renamed exit() to close()

This commit is contained in:
guillaume 2018-05-31 17:39:34 -04:00
parent 87aed7a0b0
commit f25cdb93f2
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ sp = openmc.StatePoint(statepoint)
geometry = sp.summary.geometry
# Close statepoint and summary files to be able to write over them
sp.exit()
sp.close()
# Load previous depletion results
previous_results = openmc.deplete.ResultsList("depletion_results.h5")