-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
bugsA deviation from expected behavior that does not reach the level of being reportable as an "Error".A deviation from expected behavior that does not reach the level of being reportable as an "Error".
Description
Bug Description
Pickling an MCNP_Problem results in a RecursionError.
To Reproduce
>>> deck = montepy.read_input("my_input.imcnp")
>>> with open('deck_112.pkl', 'wb') as f:
>>> pickle.dump(deck, f)Error Message
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
RecursionError: maximum recursion depth exceeded while pickling an objectMCNP input file snippet
I will work on producing a Minimal Reproducible Example. In the meanwhile, I can share the model that caused this internally.
Version
Metadata
Metadata
Assignees
Labels
bugsA deviation from expected behavior that does not reach the level of being reportable as an "Error".A deviation from expected behavior that does not reach the level of being reportable as an "Error".