Skip to content

Commit 936b86c

Browse files
committed
Save chosen name to kinetic/thermo library in importChemkinLibrary script
1 parent b00a89c commit 936b86c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/importChemkinLibrary.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
species.label = getSpeciesIdentifier(species)
3939
species.index = -1
4040
# load thermo library entries
41-
thermoLibrary = ThermoLibrary()
41+
thermoLibrary = ThermoLibrary(name=name)
4242
for i in range(len(speciesList)):
4343
species = speciesList[i]
4444
if species.thermo:
@@ -52,7 +52,7 @@
5252
logging.warning('Species {0} did not contain any thermo data and was omitted from the thermo library.'.format(str(species)))
5353

5454
# load kinetics library entries
55-
kineticsLibrary = KineticsLibrary()
55+
kineticsLibrary = KineticsLibrary(name=name)
5656
kineticsLibrary.entries = {}
5757
for i in range(len(reactionList)):
5858
reaction = reactionList[i]

0 commit comments

Comments
 (0)