csg2csg icon indicating copy to clipboard operation
csg2csg copied to clipboard

Fixed _get_importances bug

Open sbradnam opened this issue 2 years ago • 1 comments

Was attempting to convert an MCNP file, which had the word 'implicit' in one of the tally comment cards. This broke the _get_importances function in MCNPInputs so fixed with a startswith operation on the string.

sbradnam avatar Dec 14 '22 16:12 sbradnam

Sorry its taken me so long to look into this - there are instances where 'imp' occurs at the end of a string instead, which this would break I think. Would it make more sense to replace the line to search for 'imp:' instead?

makeclean avatar Feb 01 '23 00:02 makeclean