MontePy is the most user friendly Python library (API) to read, edit, and write MCNP input files.
32
stars
7
forks
source link
Shortcuts (e.g., Interpolate) in geometry definitions discards some user formatting #527
Open
MicahGale opened 2 months ago
Describe the bug
Some user formatting is lost when Geometry definition shortcuts are re-exported. This was discovered/created while fixing #489.
To Reproduce
MCNP input file snippet
This example is from
tests\inputs\test_interp_edge.imcnp
This is then exported as:
Version
Additional context
This is due to the
ShortcutNode
->GeometryTree
->ShortcutNode
conversion cycle.