Skip to content

Commit a870743

Browse files
authored
Merge pull request #15009 from cxp484/master
FDS Utility: Fix a cantera_to_yaml minor bug
2 parents 497eb12 + 51199d2 commit a870743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utilities/Python/scripts/cantera_yaml_2_fds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def str2bool(v):
113113
write_props = False
114114
else:
115115
name = gas.species(i).name
116-
if (radcal):
116+
if (radcal and spec_index[i]>-1):
117117
radcal_id = spec_data['RADCAL_ID'][spec_index[i]]
118118
else:
119119
name = gas.species(i).name

0 commit comments

Comments
 (0)