Skip to content

Commit

Permalink
Fix write_source_file function
Browse files Browse the repository at this point in the history
  • Loading branch information
paulromano committed Oct 4, 2024
1 parent f5bab73 commit 1d63abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmc/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ def write_source_file(
"""
cv.check_iterable_type("source particles", source_particles, SourceParticle)
pl = ParticleList(source_particles)
pl.write_source_file(filename, **kwargs)
pl.export_to_hdf5(filename, **kwargs)


class ParticleList(list):
Expand Down

0 comments on commit 1d63abd

Please sign in to comment.