csg2csg
csg2csg copied to clipboard
Fixed _get_importances bug
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.
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?