Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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