Blank sdef is not supported #636
Labels
bugs
A deviation from expected behavior that does not reach the level of being reportable as an "Error".
good first issue
Good for newcomers
low priority
parsers are hard
Examples of where MCNP syntax is complicated and should be simplified.
Describe the bug
The
sdef
card in MCNP allows the user to specify a number of keyword-value pairs to define a source distribution. All keywords have a default value, as documented in the MCNP manual. Therefore, a baresdef
card is valid syntax.MontePy throws a parsing error with a blank
sdef
.To Reproduce
or read in an otherwise parseable input file with a blank
sdef
.Error Message (if any)
MCNP input file snippet
If applicable, please include a small section of the input file you were working on. If it includes any specific values please change or remove them. For example:
Version
All. Example is shown with alpha-test-dev at 57aaac5
Additional context
MCNP 6.3 Manual § 5.8.1:
The text was updated successfully, but these errors were encountered: