Skip to content

Commit 51199d2

Browse files
committed
FDS Utility: Correct a minor bug
1 parent 845c84c commit 51199d2

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)