Skip to content

Surfaces can't be unset from is_reflecting #709

@MicahGale

Description

@MicahGale

Describe the bug

This seems to be closely tied to #698. When you parse a surface, set is_reflecting=False and then export it, the output is not updated.

To Reproduce

In [1]: import montepy

In [2]: surf = montepy.surfaces.Surface("*1 P 0.0")

In [3]: surf.is_reflecting = False

In [4]: surf.is_reflecting
Out[4]: False

In [5]: surf.format_for_mcnp_input((6,2,0))
Out[5]: ['*1 P 0.0']

Version

  • Version 1.0.0a3

Metadata

Metadata

Assignees

Labels

alpha testingIssues that came up during alpha testingbugsA deviation from expected behavior that does not reach the level of being reportable as an "Error".

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions