Skip to content

Commit 908a2cc

Browse files
ischoeglspeth
authored andcommitted
[cti2yaml] fix conversion for transport='None'
1 parent bbb752a commit 908a2cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interfaces/cython/cantera/cti2yaml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1152,7 +1152,7 @@ def get_yaml(self, out):
11521152
else:
11531153
out['reactions'] = [BlockMap([(r[0], r[1])]) for r in self.reactions]
11541154

1155-
if self.transport:
1155+
if self.transport and self.transport != 'None':
11561156
out['transport'] = _newNames[self.transport]
11571157

11581158
if self.comment:

0 commit comments

Comments
 (0)