Error pickling MCNP_Problem: Cannot pickle 'generator' object #463
Labels
bugs
A deviation from expected behavior that does not reach the level of being reportable as an "Error".
low priority
Cannot pickle
montepy.MCNP_Problem
objects.Describe the bug
Since v0.3.0, can no longer pickle
montepy.MCNP_Problem
for more complicated input decks. TheMCNP_Problem
contains an unpicklable generator object. Rolling back to v0.2.10 fixes this.This occurs when the problem contains tallies (possibly other non-implemented data cards?).
This is not caught by tests/test_interface.py::TestBrinyFermentation .
To Reproduce / Error Message
MCNP input file snippet
Versions
The text was updated successfully, but these errors were encountered: