Closed MicahGale closed 1 month ago
Is your feature request related to a problem? Please describe.
It would be nice (mainly in testing) to do:
fh = io.StringIO() fh.write(...) fh.seek(0) problem = montepy.read_input(fh)
Describe the solution you'd like montepy.read_input should accept file streams.
montepy.read_input
Describe alternatives you've considered None that I can think of.
Additional context This is mostly for testing.
The soulmate of #493
☯️
Exactly. This is why I needed it.
Turns out I forgot to implement this.
Is your feature request related to a problem? Please describe.
It would be nice (mainly in testing) to do:
Describe the solution you'd like
montepy.read_input
should accept file streams.Describe alternatives you've considered None that I can think of.
Additional context This is mostly for testing.