Skip to content

MCNP cell: fill -1:1 acceptable as fill = -1:1 #50

@gvozdila

Description

@gvozdila

Now cell string :
fill -1:1

makes an error like this:

File "/home/krom/.local/lib/python3.6/site-packages/csg2csg/MCNPCellCard.py", line 191, in __get_keyword_value
result = regex.search(string)[0]
TypeError: 'NoneType' object is not subscriptable

fill = -1:1 - is ok.
But MCNP accept any fill sting, fill -1:1 as acceptable as fill = -1:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions