We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7216c3d + f715787 commit db7f31bCopy full SHA for db7f31b
1 file changed
python/SerpentMaterialCard.py
@@ -10,6 +10,9 @@ def write_serpent_material(filestream, material):
10
# if its a non tally material set the relevant colour
11
if material.material_colour != 0:
12
string += " rgb " + material.material_colour + "\n"
13
+ else:
14
+ string += "\n"
15
+
16
for nuc in material.composition_dictionary:
17
string += '{} {:e} \n'.format(nuc, material.composition_dictionary[nuc])
18
filestream.write(string)
0 commit comments