-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MCNP cell: fill -1:1 acceptable as fill = -1:1 #50
Comments
Thank you for you work! |
Thanks for the issue @gvozdila, I've put very little effort into lattices so this may well fit into that category - I will work on a fix. Do you have an example input that you could share? |
i'll add this as a case for the refactoring of cell keyword handling i have been planning to do to fix #38 and related issues, but feel free to add a fix in the meantime |
It could be an example of square lattice in 2 directions. c lattice example 10 cz 20 $ big cylinder, it is surely bigger than lattice cell, so no unfilled space left m1 1001 0.6 8016 0.3 92235 0.1 |
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
The text was updated successfully, but these errors were encountered: